filters: stats: Add humanrate() helper
commit5e75c308abc77926e3597e6b18522cb93954c724
authorNir Soffer <nirsof@gmail.com>
Wed, 4 Dec 2019 22:34:44 +0000 (5 00:34 +0200)
committerRichard W.M. Jones <rjones@redhat.com>
Thu, 5 Dec 2019 08:40:05 +0000 (5 08:40 +0000)
tree5fddc862a8415c66e5f5b24b375386f0cb47dc1a
parentff78d8ced461a3d864ee0a50c674b79756ebd7e7
filters: stats: Add humanrate() helper

We want to show both operation rate based on time spent in operation,
and global rate, based on elapsed time. Add a helper to make it easier.
filters/stats/stats.c