Merge branch 'master' of ssh://git.kernel.dk/data/git/fio
[fio.git] / fio.h
diff --git a/fio.h b/fio.h
index 5e352c6cf3cd07722210b06acf6a1b71e0e7b702..f6880841b048353ed027698ba67003b3f0998454 100644 (file)
--- a/fio.h
+++ b/fio.h
@@ -235,7 +235,16 @@ struct thread_data {
        uint64_t total_io_size;
        uint64_t fill_device_size;
 
+       /*
+        * Issue side
+        */
        uint64_t io_issues[DDIR_RWDIR_CNT];
+       uint64_t io_issue_bytes[DDIR_RWDIR_CNT];
+       uint64_t loops;
+
+       /*
+        * Completions
+        */
        uint64_t io_blocks[DDIR_RWDIR_CNT];
        uint64_t this_io_blocks[DDIR_RWDIR_CNT];
        uint64_t io_bytes[DDIR_RWDIR_CNT];
@@ -642,6 +651,9 @@ enum {
        FIO_RAND_DIST_PARETO,
 };
 
+#define FIO_DEF_ZIPF           1.1
+#define FIO_DEF_PARETO         0.2
+
 enum {
        FIO_RAND_GEN_TAUSWORTHE = 0,
        FIO_RAND_GEN_LFSR,