projects
/
fio.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge branch 'master' into gfio
[fio.git]
/
stat.c
diff --git
a/stat.c
b/stat.c
index eff1a27e4d135acae099bca57513a980f935b44b..ee495ffd88dc5dae82f92717deda18e59ef8bd57 100644
(file)
--- a/
stat.c
+++ b/
stat.c
@@
-573,7
+573,7
@@
static void show_ddir_status_terse(struct thread_stat *ts,
if (ts->runtime[ddir]) {
uint64_t runt = ts->runtime[ddir];
- bw =
ts->io_bytes[ddir] / runt
;
+ bw =
((1000 * ts->io_bytes[ddir]) / runt) / 1024
;
iops = (1000 * (uint64_t) ts->total_io_u[ddir]) / runt;
}