projects
/
fio.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Call path below SIGALRM isn't safe
[fio.git]
/
eta.c
diff --git
a/eta.c
b/eta.c
index 81dbfa7ef2833438ab9344431e6024f31e33075b..608e0dd4cfa59a130c35bf39d0e3918618aca893 100644
(file)
--- a/
eta.c
+++ b/
eta.c
@@
-328,7
+328,11
@@
void print_thread_status(void)
}
disp_time = mtime_since(&disp_prev_time, &now);
- if (disp_time < 1000)
+
+ /*
+ * Allow a little slack, the target is to print it every 1000 msecs
+ */
+ if (disp_time < 900)
return;
calc_rate(disp_time, io_bytes, disp_io_bytes, rate);