From: Jens Axboe Date: Tue, 6 Jun 2006 13:36:18 +0000 (+0200) Subject: [PATCH] Aggregate bandwidth off-by 1.024 X-Git-Tag: fio-1.5~44 X-Git-Url: https://git.kernel.dk/?a=commitdiff_plain;h=573a0b14e2a2891750b3b5b04e8b80867443826a;p=fio.git [PATCH] Aggregate bandwidth off-by 1.024 --- diff --git a/fio.c b/fio.c index 84c7d3e7..d9f92b09 100644 --- a/fio.c +++ b/fio.c @@ -2651,9 +2651,9 @@ static void show_run_stats(void) rs = &runstats[i]; if (rs->max_run[0]) - rs->agg[0] = (rs->io_mb[0]*1024*1000) / rs->max_run[0]; + rs->agg[0] = (rs->io_mb[0]*1024*1024) / rs->max_run[0]; if (rs->max_run[1]) - rs->agg[1] = (rs->io_mb[1]*1024*1000) / rs->max_run[1]; + rs->agg[1] = (rs->io_mb[1]*1024*1024) / rs->max_run[1]; } /*