From: Jens Axboe Date: Tue, 6 Mar 2007 19:01:13 +0000 (+0100) Subject: Move description text X-Git-Tag: fio-1.14~71 X-Git-Url: https://git.kernel.dk/?p=fio.git;a=commitdiff_plain;h=7bdce1bde82e37c8876270853840c1d09d760b67 Move description text It was dangling at the bottom. Signed-off-by: Jens Axboe --- diff --git a/stat.c b/stat.c index 9fc92d4f..e5e626ce 100644 --- a/stat.c +++ b/stat.c @@ -489,6 +489,9 @@ static void show_thread_status(struct thread_stat *ts, else fprintf(f_out, "%s: (groupid=%d, jobs=%d): err=%2d (%s): pid=%d\n", ts->name, ts->groupid, ts->members, ts->error, ts->verror, ts->pid); + if (ts->description) + fprintf(f_out, " Description : [%s]\n", ts->description); + if (ts->io_bytes[DDIR_READ]) show_ddir_status(rs, ts, DDIR_READ); if (ts->io_bytes[DDIR_WRITE]) @@ -514,9 +517,6 @@ static void show_thread_status(struct thread_stat *ts, fprintf(f_out, " lat (msec): 2=%3.1f%%, 4=%3.1f%%, 10=%3.1f%%, 20=%3.1f%%, 50=%3.1f%%, 100=%3.1f%%\n", io_u_lat[0], io_u_lat[1], io_u_lat[2], io_u_lat[3], io_u_lat[4], io_u_lat[5]); fprintf(f_out, " lat (msec): 250=%3.1f%%, 500=%3.1f%%, 750=%3.1f%%, 1000=%3.1f%%, >=2000=%3.1f%%\n", io_u_lat[6], io_u_lat[7], io_u_lat[8], io_u_lat[9], io_u_lat[10]); - - if (ts->description) - fprintf(f_out, "%s\n", ts->description); } static void show_ddir_status_terse(struct thread_stat *ts,