summaryrefslogtreecommitdiff
path: root/internal/statsengine/snapshot.go
diff options
context:
space:
mode:
authorPaul Buetow <paul@buetow.org>2026-05-20 07:23:45 +0300
committerPaul Buetow <paul@buetow.org>2026-05-20 07:23:45 +0300
commitdf1225efe494cc81513cf98e93891376e45f9615 (patch)
tree8fe131ba9ae5737022f26fcd60e662c1660329c6 /internal/statsengine/snapshot.go
parent11a8642b7035ff558fb84d7761e93525c84e4908 (diff)
task 07: add KindMem and separate address-space byte accounting
Diffstat (limited to 'internal/statsengine/snapshot.go')
-rw-r--r--internal/statsengine/snapshot.go18
1 files changed, 10 insertions, 8 deletions
diff --git a/internal/statsengine/snapshot.go b/internal/statsengine/snapshot.go
index 859cd2e..bec92fb 100644
--- a/internal/statsengine/snapshot.go
+++ b/internal/statsengine/snapshot.go
@@ -30,14 +30,16 @@ type Snapshot struct {
GeneratedAt time.Time
Elapsed time.Duration
- TotalSyscalls uint64
- TotalErrors uint64
- TotalBytes uint64
-
- SyscallRatePerSec float64
- ErrorRatePerSec float64
- ReadBytesPerSec float64
- WriteBytesPerSec float64
+ TotalSyscalls uint64
+ TotalErrors uint64
+ TotalBytes uint64
+ TotalAddressSpaceBytes uint64
+
+ SyscallRatePerSec float64
+ ErrorRatePerSec float64
+ AddressSpaceBytesPerSec float64
+ ReadBytesPerSec float64
+ WriteBytesPerSec float64
LatencyMeanNs float64
GapMeanNs float64