search for: e10307c

Displaying 1 result from an estimated 1 matches for "e10307c".

Did you mean: 10307
2019 Dec 03
2
[PATCH nbdkit] filters: stats: Show size and rate in human size
...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 usecs) +#...