projects
/
fio.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix Windows CPU count
[fio.git]
/
blktrace.h
diff --git
a/blktrace.h
b/blktrace.h
index cebd54d6a58969b463f03219d8129d2fc88db6fc..a0e82faa05eed81bb3e8819a200208089a6009d7 100644
(file)
--- a/
blktrace.h
+++ b/
blktrace.h
@@
-4,14
+4,19
@@
#ifdef FIO_HAVE_BLKTRACE
#ifdef FIO_HAVE_BLKTRACE
+#include <asm/types.h>
+
#include "blktrace_api.h"
struct blktrace_cursor {
struct fifo *fifo; // fifo queue for reading
int fd; // blktrace file
#include "blktrace_api.h"
struct blktrace_cursor {
struct fifo *fifo; // fifo queue for reading
int fd; // blktrace file
+ __u64 length; // length of trace
struct blk_io_trace t; // current io trace
int swap; // bitwise reverse required
int scalar; // scale percentage
struct blk_io_trace t; // current io trace
int swap; // bitwise reverse required
int scalar; // scale percentage
+ int iter; // current iteration
+ int nr_iter; // number of iterations to run
};
bool is_blktrace(const char *, int *);
};
bool is_blktrace(const char *, int *);
@@
-31,5
+36,10
@@
static inline bool load_blktrace(struct thread_data *td, const char *fname,
return false;
}
return false;
}
+static inline int merge_blktrace_iologs(struct thread_data *td)
+{
+ return false;
+}
+
#endif
#endif
#endif
#endif