X-Git-Url: https://git.kernel.dk/?p=fio.git;a=blobdiff_plain;f=stat.c;h=19b36961aa4854f0e3fb27a692b04ed5f52cb9e9;hp=d54aa85d82d4fbcfd2053539582293e71877b44d;hb=498c92c27b475bcc0cb65e529fb02713bc1fb62c;hpb=7e1773ba2033a2f70bcbb36c07dc8743c6ce05d1 diff --git a/stat.c b/stat.c index d54aa85d..19b36961 100644 --- a/stat.c +++ b/stat.c @@ -1012,25 +1012,23 @@ void show_run_stats(void) show_thread_status(ts, rs); } - if (!terse_output) { - for (i = 0; i < groupid + 1; i++) { - rs = &runstats[i]; - - rs->groupid = i; - if (is_backend) - fio_server_send_gs(rs); - else - show_group_stats(rs); - } + for (i = 0; i < groupid + 1; i++) { + rs = &runstats[i]; + rs->groupid = i; if (is_backend) - fio_server_send_du(); - else - show_disk_util(0); - - free_disk_util(); + fio_server_send_gs(rs); + else if (!terse_output) + show_group_stats(rs); } + if (is_backend) + fio_server_send_du(); + else if (!terse_output) + show_disk_util(0); + + free_disk_util(); + free(runstats); free(threadstats); }