projects
/
fio.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Improve latency_target runs
[fio.git]
/
fio.h
diff --git
a/fio.h
b/fio.h
index d1180cd4809bb090e5a96e4266be0da5933c80e5..9159b0c2de3e207cd15bf73d683a9accdde72934 100644
(file)
--- a/
fio.h
+++ b/
fio.h
@@
-262,6
+262,7
@@
struct thread_data {
unsigned int latency_qd_low;
unsigned int latency_failed;
uint64_t latency_ios;
unsigned int latency_qd_low;
unsigned int latency_failed;
uint64_t latency_ios;
+ int latency_end_run;
/*
* read/write mixed workload state
/*
* read/write mixed workload state
@@
-504,6
+505,7
@@
extern int load_blktrace(struct thread_data *, const char *, int);
*/
extern void lat_target_check(struct thread_data *);
extern void lat_target_init(struct thread_data *);
*/
extern void lat_target_check(struct thread_data *);
extern void lat_target_init(struct thread_data *);
+extern void lat_target_reset(struct thread_data *);
#define for_each_td(td, i) \
for ((i) = 0, (td) = &threads[0]; (i) < (int) thread_number; (i)++, (td)++)
#define for_each_td(td, i) \
for ((i) = 0, (td) = &threads[0]; (i) < (int) thread_number; (i)++, (td)++)