Non functional fixup for 16 bytes read capacity for sg ioengine
[fio.git] / lib / gauss.h
... / ...
CommitLineData
1#ifndef FIO_GAUSS_H
2#define FIO_GAUSS_H
3
4#include <inttypes.h>
5#include "rand.h"
6
7struct gauss_state {
8 struct frand_state r;
9 uint64_t nranges;
10 unsigned int stddev;
11 bool disable_hash;
12};
13
14void gauss_init(struct gauss_state *gs, unsigned long nranges, double dev,
15 unsigned int seed);
16unsigned long long gauss_next(struct gauss_state *gs);
17void gauss_disable_hash(struct gauss_state *gs);
18
19#endif