Revert "fix 1000 vs kb_base confusion in show_run_stats."
This reverts commit 1f53e9d84573b1f9b9a23ad3ac4ef3d312d59c78.
The conversion is from msec to sec, so the 1000 factor
was correct.
Signed-off-by: Jens Axboe <jaxboe@fusionio.com>
diff --git a/stat.c b/stat.c
index 0f259d2..a79c7ef 100644
--- a/stat.c
+++ b/stat.c
@@ -658,9 +658,9 @@
max_run[1] = rs->max_run[1];
if (rs->max_run[0])
- rs->agg[0] = (rs->io_kb[0] * rs->kb_base) / max_run[0];
+ rs->agg[0] = (rs->io_kb[0] * 1000) / max_run[0];
if (rs->max_run[1])
- rs->agg[1] = (rs->io_kb[1] * rs->kb_base) / max_run[1];
+ rs->agg[1] = (rs->io_kb[1] * 1000) / max_run[1];
}
/*