From 573a0b14e2a2891750b3b5b04e8b80867443826a Mon Sep 17 00:00:00 2001 From: Jens Axboe Date: Tue, 6 Jun 2006 15:36:18 +0200 Subject: [PATCH] [PATCH] Aggregate bandwidth off-by 1.024 --- fio.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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]; } /* -- 2.25.1