projects
/
fio.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[PATCH] IO completion time histograms
[fio.git]
/
fio.h
diff --git
a/fio.h
b/fio.h
index 5fad44648e6a95d071904bd4e1dabb2d3bf43076..8415dae8fcf184b5b7df6c7dfc25324242920ce4 100644
(file)
--- a/
fio.h
+++ b/
fio.h
@@
-220,6
+220,7
@@
struct fio_file {
* How many depth levels to log
*/
#define FIO_IO_U_MAP_NR 8
* How many depth levels to log
*/
#define FIO_IO_U_MAP_NR 8
+#define FIO_IO_U_LAT_NR 12
/*
* This describes a single thread/process executing a fio job.
/*
* This describes a single thread/process executing a fio job.
@@
-320,6
+321,7
@@
struct thread_data {
*/
unsigned int cur_depth;
unsigned int io_u_map[FIO_IO_U_MAP_NR];
*/
unsigned int cur_depth;
unsigned int io_u_map[FIO_IO_U_MAP_NR];
+ unsigned int io_u_lat[FIO_IO_U_LAT_NR];
unsigned long total_io_u;
struct list_head io_u_freelist;
struct list_head io_u_busylist;
unsigned long total_io_u;
struct list_head io_u_freelist;
struct list_head io_u_busylist;