[Libguestfs] [PATCH nbdkit v3 0/5] filters: stats: More useful, more friendly

Nir Soffer nirsof at gmail.com
Wed Dec 4 22:34:42 UTC 2019


This is the third attempt to make the stats filter better. This time I kept the
changes minimal to make it eaier to make progress.

I tried the idea of showing global stats in separate "total" section, but it
became messy and hard to implemnt, so I tried the simpler solution of showing
both operation rate and total rate in the operation line.

Nir Soffer (5):
  filters: stats: Add maybe() helper
  filters: stats: Add humanrate() helper
  filters: stats: Show time per operation
  filters: stats: Show both operation and total rates
  filters: stats: Show total stats

 filters/stats/nbdkit-stats-filter.pod | 10 +++---
 filters/stats/stats.c                 | 46 ++++++++++++++++++++++-----
 2 files changed, 43 insertions(+), 13 deletions(-)

-- 
2.21.0





More information about the Libguestfs mailing list