projects
/
fio.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
092dfc6
)
stat: add total fsync ios to json output
author
Jens Axboe
<axboe@kernel.dk>
Thu, 25 Jan 2018 23:04:20 +0000
(16:04 -0700)
committer
Jens Axboe
<axboe@kernel.dk>
Thu, 25 Jan 2018 23:04:20 +0000
(16:04 -0700)
Signed-off-by: Jens Axboe <axboe@kernel.dk>
stat.c
patch
|
blob
|
blame
|
history
diff --git
a/stat.c
b/stat.c
index 36e06457ccafa31344f38d85cfc615fc2c1374a1..a980a1d2819b356647e8ae6bb131e17f92940339 100644
(file)
--- a/
stat.c
+++ b/
stat.c
@@
-1049,6
+1049,7
@@
static void add_ddir_status_json(struct thread_stat *ts,
tmp_object = json_create_object();
json_object_add_value_object(dir_object, "lat_ns", tmp_object);
+ json_object_add_value_int(dir_object, "total_ios", ts->total_io_u[DDIR_SYNC]);
json_object_add_value_int(tmp_object, "min", min);
json_object_add_value_int(tmp_object, "max", max);
json_object_add_value_float(tmp_object, "mean", mean);