#ifndef FIO_ZIPF_H
#define FIO_ZIPF_H
+#include <inttypes.h>
#include "rand.h"
struct zipf_state {
double zetan;
double pareto_pow;
struct frand_state rand;
+ unsigned long rand_off;
};
void zipf_init(struct zipf_state *zs, unsigned long nranges, double theta);