projects
/
fio.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Issue time fixup for guasi/libaio
[fio.git]
/
fio.h
diff --git
a/fio.h
b/fio.h
index 690afad607b9d0b39c1d69153063d4d99ad10f0e..ed1257cc35bfb46d94bb8b4458da2f4e1f339ed9 100644
(file)
--- a/
fio.h
+++ b/
fio.h
@@
-1040,4
+1040,13
@@
static inline void dprint_io_u(struct io_u *io_u, const char *p)
#define dprint_io_u(io_u, p)
#endif
+static inline int fio_fill_issue_time(struct thread_data *td)
+{
+ if (td->o.read_iolog_file ||
+ !td->o.disable_clat || !td->o.disable_slat || !td->o.disable_bw)
+ return 1;
+
+ return 0;
+}
+
#endif