projects
/
fio.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[PATCH] Time and seek optimizations
[fio.git]
/
eta.c
diff --git
a/eta.c
b/eta.c
index 339f6568b16de68bb3e6af774dd875367f5f6292..99e59ec51d78d4bac7ff45180f16f3ce9407a7d2 100644
(file)
--- a/
eta.c
+++ b/
eta.c
@@
-238,7
+238,7
@@
void print_thread_status(void)
if (mtime > 1000) {
r_rate = (io_bytes[0] - prev_io_bytes[0]) / mtime;
w_rate = (io_bytes[1] - prev_io_bytes[1]) / mtime;
-
gettimeofday
(&prev_time, NULL);
+
fio_gettime
(&prev_time, NULL);
memcpy(prev_io_bytes, io_bytes, sizeof(io_bytes));
}