projects
/
fio.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Revert "fix 1000 vs kb_base confusion in show_run_stats."
[fio.git]
/
stat.c
diff --git
a/stat.c
b/stat.c
index 0f259d273bd48e04e8f7752e522ff44bd72a1a3c..a79c7ef29da473567debc712f3c6909b077f7a13 100644
(file)
--- a/
stat.c
+++ b/
stat.c
@@
-658,9
+658,9
@@
void show_run_stats(void)
max_run[1] = rs->max_run[1];
if (rs->max_run[0])
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])
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];
}
/*
}
/*