Displaying 1 result from an estimated 1 matches for "919dc16".
Did you mean:
916d216
2019 Dec 03
2
[PATCH nbdkit] filters: stats: Show size and rate in human size
...- flush: 9 ops, 0 bytes, 0 bits/s
+ elapsed time: 1.33377 s
+ read: 248 ops, 4.75 MiB, 3.56 MiB/s
+ write: 78 ops, 32.64 MiB, 24.48 MiB/s
+ trim: 33 ops, 1.00 GiB, 767.75 MiB/s
+ flush: 9 ops, 0 bytes, 0 bytes/s
=head1 PARAMETERS
diff --git a/filters/stats/stats.c b/filters/stats/stats.c
index 919dc16..e10307c 100644
--- a/filters/stats/stats.c
+++ b/filters/stats/stats.c
@@ -71,18 +71,40 @@ static stat extents_st = { "extents" };
static stat cache_st = { "cache" };
static stat flush_st = { "flush" };
-static inline double
-calc_bps (uint64_t bytes, int64_t...