projects
/
fio.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
log: fix averaged latency logging
[fio.git]
/
stat.c
diff --git
a/stat.c
b/stat.c
index 9171e9b7fc1a6b43713ca7712b61ab154940633d..7a35117a6f1998faae15cae2c1e3b660205470b7 100644
(file)
--- a/
stat.c
+++ b/
stat.c
@@
-2142,7
+2142,7
@@
static long add_log_sample(struct thread_data *td, struct io_log *iolog,
if (this_window < iolog->avg_msec) {
int diff = iolog->avg_msec - this_window;
- if (diff > LOG_MSEC_SLACK)
+ if (
inline_log(iolog) ||
diff > LOG_MSEC_SLACK)
return diff;
}