stat: further group percentage fixes
authorSitsofe Wheeler <sitsofe@yahoo.com>
Tue, 27 Jun 2017 06:21:32 +0000 (07:21 +0100)
committerSitsofe Wheeler <sitsofe@yahoo.com>
Wed, 28 Jun 2017 20:21:35 +0000 (21:21 +0100)
commitd170747454857f9ed842cf573327c696bc5831c8
tree9f641e8b91f1bedaca8305a19b41230e839cfdbe
parent24e4321c5c1fb81d2bc2a0245bdc1e8350c768d7
stat: further group percentage fixes

db84b73bd7b0c3b718596fbeb6a5f940b05a6735 forgot to fix the group
percentage calculation when using json or terse output. It also did its
caculation after the mean's base might have been changed to bits but the
aggregate bandwidth's unit is (k)bytes. Fix these.

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