Use more portable construct for setting/checking CC
[fio.git] / fio.h
diff --git a/fio.h b/fio.h
index 15ab308488c23b1f6608e1f682d70a4696adc506..1526d191a6eab03911696c2e7c45aab566be2385 100644 (file)
--- a/fio.h
+++ b/fio.h
@@ -39,7 +39,6 @@ struct thread_data;
 #include "server.h"
 #include "stat.h"
 #include "flow.h"
-#include "lib/zipf.h"
 
 #ifdef FIO_HAVE_GUASI
 #include <guasi.h>
@@ -180,6 +179,7 @@ struct thread_options {
 
        unsigned int random_distribution;
        double zipf_theta;
+       double pareto_h;
 
        unsigned int hugepage_size;
        unsigned int rw_min_bs;
@@ -456,11 +456,6 @@ struct thread_data {
                struct frand_state __random_state;
        };
 
-       /*
-        * Used for zipf random distribution
-        */
-       struct zipf_state zipf;
-
        struct timeval start;   /* start of this loop */
        struct timeval epoch;   /* time job was started */
        struct timeval last_issue;
@@ -690,6 +685,7 @@ enum {
        TD_NOT_CREATED = 0,
        TD_CREATED,
        TD_INITIALIZED,
+       TD_SETTING_UP,
        TD_RAMP,
        TD_RUNNING,
        TD_PRE_READING,
@@ -827,6 +823,7 @@ enum {
 enum {
        FIO_RAND_DIST_RANDOM    = 0,
        FIO_RAND_DIST_ZIPF,
+       FIO_RAND_DIST_PARETO,
 };
 
 #endif