X-Git-Url: https://git.kernel.dk/?p=fio.git;a=blobdiff_plain;f=stat.c;h=a980a1d2819b356647e8ae6bb131e17f92940339;hp=36e06457ccafa31344f38d85cfc615fc2c1374a1;hb=f5ec81235eaf21bd3a97556427d4a84e48a87e54;hpb=092dfc6c778d8393256ac210b36ee3e5416080db diff --git a/stat.c b/stat.c index 36e06457..a980a1d2 100644 --- 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);