summaryrefslogtreecommitdiff
path: root/lib/zipf.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/zipf.h')
-rw-r--r--lib/zipf.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/zipf.h b/lib/zipf.h
index f98ad818..af2d0e64 100644
--- a/lib/zipf.h
+++ b/lib/zipf.h
@@ -12,6 +12,7 @@ struct zipf_state {
double pareto_pow;
struct frand_state rand;
uint64_t rand_off;
+ bool disable_hash;
};
void zipf_init(struct zipf_state *zs, unsigned long nranges, double theta, unsigned int seed);
@@ -19,5 +20,6 @@ unsigned long long zipf_next(struct zipf_state *zs);
void pareto_init(struct zipf_state *zs, unsigned long nranges, double h, unsigned int seed);
unsigned long long pareto_next(struct zipf_state *zs);
+void zipf_disable_hash(struct zipf_state *zs);
#endif