Fix bug with FIO_IO_U_M/U_NR being transposed
[fio.git] / fio.h
diff --git a/fio.h b/fio.h
index 2104e3a9325dd2456c2dfe91a6837c5c9d08a9c8..d84eecfaba51f4bc305575ae572a4acc02e30226 100644 (file)
--- a/fio.h
+++ b/fio.h
@@ -295,7 +295,8 @@ struct fio_file {
  * How many depth levels to log
  */
 #define FIO_IO_U_MAP_NR        8
-#define FIO_IO_U_LAT_NR 12
+#define FIO_IO_U_LAT_U_NR 10
+#define FIO_IO_U_LAT_M_NR 12
 
 struct thread_stat {
        char *name;
@@ -333,7 +334,8 @@ struct thread_stat {
         * IO depth and latency stats
         */
        unsigned int io_u_map[FIO_IO_U_MAP_NR];
-       unsigned int io_u_lat[FIO_IO_U_LAT_NR];
+       unsigned int io_u_lat_u[FIO_IO_U_LAT_U_NR];
+       unsigned int io_u_lat_m[FIO_IO_U_LAT_M_NR];
        unsigned long total_io_u[2];
        unsigned long short_io_u[2];