projects
/
fio.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Add check for invariant TSC on x86 and use TSC is default clock if reliable
[fio.git]
/
lib
/
zipf.h
diff --git
a/lib/zipf.h
b/lib/zipf.h
index dbcaffb2453069442b2aa998267f846c2e15b47f..f98ad8182883142e5232000388126534ef3fefe6 100644
(file)
--- a/
lib/zipf.h
+++ b/
lib/zipf.h
@@
-11,7
+11,7
@@
struct zipf_state {
double zetan;
double pareto_pow;
struct frand_state rand;
- u
nsigned long
rand_off;
+ u
int64_t
rand_off;
};
void zipf_init(struct zipf_state *zs, unsigned long nranges, double theta, unsigned int seed);