Merge branch 'epoch' of https://github.com/cronburg/fio
[fio.git] / iolog.h
diff --git a/iolog.h b/iolog.h
index 011179a020ccd05830be26ca1d82053417623f32..ca344f1970208018882492ea717e05d735f5d15b 100644 (file)
--- a/iolog.h
+++ b/iolog.h
@@ -21,6 +21,7 @@ struct io_stat {
 struct io_hist {
        uint64_t samples;
        unsigned long hist_last;
+       struct flist_head list;
 };
 
 /*
@@ -109,10 +110,11 @@ struct io_log {
        unsigned long avg_msec;
        unsigned long avg_last;
 
-  /*
-   * Windowed latency histograms, for keeping track of when we need to
-   * save a copy of the histogram every approximately hist_msec milliseconds.
-   */
+       /*
+        * Windowed latency histograms, for keeping track of when we need to
+        * save a copy of the histogram every approximately hist_msec
+        * milliseconds.
+        */
        struct io_hist hist_window[DDIR_RWDIR_CNT];
        unsigned long hist_msec;
        int hist_coarseness;