stat: fix group percentage
authorSitsofe Wheeler <sitsofe@yahoo.com>
Mon, 26 Jun 2017 23:04:40 +0000 (00:04 +0100)
committerSitsofe Wheeler <sitsofe@yahoo.com>
Mon, 26 Jun 2017 23:47:27 +0000 (00:47 +0100)
commitdb84b73bd7b0c3b718596fbeb6a5f940b05a6735
treea8db1f249eb8e9828bc4974f7236004b9c813c27
parent29eb371b1d2b436e252c6e3e20981d88f7b1cd3f
stat: fix group percentage

When af7f87cb59fb3fc29a7d9f56f03f7b42680a45f2 converted group stats to
bytes it broke the group percentage calculation because the mean is in
kilobytes but the aggregate bandwidth is in kilobytes. Fix this by
converting aggregate bandwidth to kilobytes when calculating the
thread's group percentage.

Signed-off-by: Sitsofe Wheeler <sitsofe@yahoo.com>
stat.c