summaryrefslogtreecommitdiffhomepage
path: root/benchmarks/cmap_benchmark.cpp
diff options
context:
space:
mode:
authorTyge Løvset <[email protected]>2020-12-28 18:18:48 +0100
committerTyge Løvset <[email protected]>2020-12-28 18:18:48 +0100
commit74a75b3a8d155ea155358674d3bf8251658183a5 (patch)
tree19886986b9ce6943b826311cda40f67ebc8dd7b1 /benchmarks/cmap_benchmark.cpp
parent83b7be31a1d0fc0be4e013dbfc97bb6cdc3600db (diff)
downloadSTC-modified-74a75b3a8d155ea155358674d3bf8251658183a5.tar.gz
STC-modified-74a75b3a8d155ea155358674d3bf8251658183a5.zip
Reverted crand.h API back to rename crand_* to stc64_*, and crand_next() -> stc64_rand().
Diffstat (limited to 'benchmarks/cmap_benchmark.cpp')
-rw-r--r--benchmarks/cmap_benchmark.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/benchmarks/cmap_benchmark.cpp b/benchmarks/cmap_benchmark.cpp
index aaf9fc73..d9b6d1ad 100644
--- a/benchmarks/cmap_benchmark.cpp
+++ b/benchmarks/cmap_benchmark.cpp
@@ -28,9 +28,9 @@ KHASH_MAP_INIT_INT64(ii, int64_t)
size_t seed;
static const float max_load_factor = 0.77f;
-crand_t rng;
-#define SEED(s) rng = crand_init(seed)
-#define RAND(N) (crand_next(&rng) & ((1 << N) - 1))
+stc64_t rng;
+#define SEED(s) rng = stc64_init(seed)
+#define RAND(N) (stc64_rand(&rng) & ((1 << N) - 1))
#define CMAP_SETUP(X, Key, Value) cmap_##X map = cmap_inits \