From 7bdce1bde82e37c8876270853840c1d09d760b67 Mon Sep 17 00:00:00 2001 From: Jens Axboe Date: Tue, 6 Mar 2007 20:01:13 +0100 Subject: [PATCH] Move description text It was dangling at the bottom. Signed-off-by: Jens Axboe --- stat.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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, -- 2.25.1