summaryrefslogtreecommitdiff
path: root/internal/statsengine/filerank.go
diff options
context:
space:
mode:
Diffstat (limited to 'internal/statsengine/filerank.go')
-rw-r--r--internal/statsengine/filerank.go13
1 files changed, 7 insertions, 6 deletions
diff --git a/internal/statsengine/filerank.go b/internal/statsengine/filerank.go
index d24ab93..ef43c6e 100644
--- a/internal/statsengine/filerank.go
+++ b/internal/statsengine/filerank.go
@@ -191,12 +191,13 @@ func (s fileSnapshotInput) toSnapshot() FileSnapshot {
}
return FileSnapshot{
- Path: s.path,
- Accesses: s.accesses,
- BytesRead: s.bytesRead,
- BytesWritten: s.bytesWritten,
- AvgLatencyNs: avg,
- MaxLatencyNs: s.maxLatency,
+ Path: s.path,
+ Accesses: s.accesses,
+ BytesRead: s.bytesRead,
+ BytesWritten: s.bytesWritten,
+ AvgLatencyNs: avg,
+ MaxLatencyNs: s.maxLatency,
+ TotalLatencyNs: s.totalLatency,
}
}