projects
/
fio.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
blame
|
history
|
raw
|
HEAD
buffer: only set refill_buffers, it it wasn't set manually
[fio.git]
/
lib
/
gauss.h
1
#ifndef FIO_GAUSS_H
2
#define FIO_GAUSS_H
3
4
#include <inttypes.h>
5
#include "rand.h"
6
7
struct gauss_state {
8
struct frand_state r;
9
uint64_t nranges;
10
unsigned int stddev;
11
};
12
13
void gauss_init(struct gauss_state *gs, unsigned long nranges, double dev,
14
unsigned int seed);
15
unsigned long long gauss_next(struct gauss_state *gs);
16
17
#endif