Merge branch 'one-core' of https://github.com/ErwanAliasr1/fio
[fio.git] / lib / gauss.h
index 478aa146896b5ea2ad41da7b0f5914ed00c2a745..19e3a6666beec7300540787754d91ca2dc22053f 100644 (file)
@@ -8,11 +8,12 @@ struct gauss_state {
        struct frand_state r;
        uint64_t nranges;
        unsigned int stddev;
+       unsigned int rand_off;
        bool disable_hash;
 };
 
 void gauss_init(struct gauss_state *gs, unsigned long nranges, double dev,
-               unsigned int seed);
+               double center, unsigned int seed);
 unsigned long long gauss_next(struct gauss_state *gs);
 void gauss_disable_hash(struct gauss_state *gs);