projects
/
fio.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix backwards clock on tsc source with Linux
[fio.git]
/
fio.h
diff --git
a/fio.h
b/fio.h
index 1484749862d6aa181521e0719145674b3374ecfc..ed1257cc35bfb46d94bb8b4458da2f4e1f339ed9 100644
(file)
--- a/
fio.h
+++ b/
fio.h
@@
-496,6
+496,9
@@
struct thread_options {
unsigned int zero_buffers;
unsigned int refill_buffers;
unsigned int time_based;
unsigned int zero_buffers;
unsigned int refill_buffers;
unsigned int time_based;
+ unsigned int disable_clat;
+ unsigned int disable_slat;
+ unsigned int disable_bw;
char *read_iolog_file;
char *write_iolog_file;
char *read_iolog_file;
char *write_iolog_file;
@@
-1037,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
#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
#endif