[PATCH] Include io depth distribution statistics
[fio.git] / fio.h
diff --git a/fio.h b/fio.h
index e85d6cc1f0ac2011fb79780adb838039cd8b56a0..c21440667a51bf6c09db8c39b799901dbdf97446 100644 (file)
--- a/fio.h
+++ b/fio.h
@@ -167,6 +167,11 @@ struct fio_file {
        unsigned int unlink;
 };
 
        unsigned int unlink;
 };
 
+/*
+ * How many depth levels to log
+ */
+#define FIO_IO_U_MAP_NR        8
+
 /*
  * This describes a single thread/process executing a fio job.
  */
 /*
  * This describes a single thread/process executing a fio job.
  */
@@ -264,6 +269,8 @@ struct thread_data {
         * Current IO depth and list of free and busy io_u's.
         */
        unsigned int cur_depth;
         * Current IO depth and list of free and busy io_u's.
         */
        unsigned int cur_depth;
+       unsigned int io_u_map[FIO_IO_U_MAP_NR];
+       unsigned long total_io_u;
        struct list_head io_u_freelist;
        struct list_head io_u_busylist;
 
        struct list_head io_u_freelist;
        struct list_head io_u_busylist;