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:
4dced40
)
Missing carriage return in latency print
author
Jens Axboe
<jens.axboe@oracle.com>
Mon, 23 Jul 2007 12:21:17 +0000
(14:21 +0200)
committer
Jens Axboe
<jens.axboe@oracle.com>
Mon, 23 Jul 2007 12:21:17 +0000
(14:21 +0200)
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
stat.c
patch
|
blob
|
blame
|
history
diff --git
a/stat.c
b/stat.c
index 38f94be0138e7a063bb9e31155bc8e78e8f83d28..401e1f2a6084575c11f536d17c41764e44e79082 100644
(file)
--- a/
stat.c
+++ b/
stat.c
@@
-228,6
+228,8
@@
static void show_lat(double *io_u_lat, int nr, const char **ranges,
if (io_u_lat[i] <= 0.0)
continue;
if (new_line) {
+ if (line)
+ log_info("\n");
log_info(" lat (%s): ", msg);
new_line = 0;
line = 0;
@@
-239,7
+241,6
@@
static void show_lat(double *io_u_lat, int nr, const char **ranges,
if (line == 5)
new_line = 1;
}
-
}
static void show_lat_u(double *io_u_lat_u)
@@
-262,6
+263,7
@@
static void show_lat_m(double *io_u_lat_m)
static void show_latencies(double *io_u_lat_u, double *io_u_lat_m)
{
show_lat_u(io_u_lat_u);
+ log_info("\n");
show_lat_m(io_u_lat_m);
log_info("\n");
}