summaryrefslogtreecommitdiffhomepage
path: root/benchmarks
diff options
context:
space:
mode:
authorTyge Løvset <[email protected]>2021-01-21 08:26:54 +0100
committerTyge Løvset <[email protected]>2021-01-21 08:26:54 +0100
commit50da396d04714a18fa087ebbd1f2316958dbd6bd (patch)
tree0349909bf35183e2eced05ca0d3ce909f700c23e /benchmarks
parent9473eae780011ef520066ddcd36bb555e8e616e4 (diff)
downloadSTC-modified-50da396d04714a18fa087ebbd1f2316958dbd6bd.tar.gz
STC-modified-50da396d04714a18fa087ebbd1f2316958dbd6bd.zip
Reverted namings: crand to crandom, and copt to coption.
Diffstat (limited to 'benchmarks')
-rw-r--r--benchmarks/cdeq_benchmark.cpp2
-rw-r--r--benchmarks/cmap_benchmark.cpp2
-rw-r--r--benchmarks/cmap_benchmark2.cpp2
-rw-r--r--benchmarks/cpque_benchmark.cpp2
-rw-r--r--benchmarks/crand_benchmark.cpp2
-rw-r--r--benchmarks/crand_benchmark2.cpp2
-rw-r--r--benchmarks/vector_vs_deque.cpp2
7 files changed, 7 insertions, 7 deletions
diff --git a/benchmarks/cdeq_benchmark.cpp b/benchmarks/cdeq_benchmark.cpp
index f44a40a6..ea1c69b3 100644
--- a/benchmarks/cdeq_benchmark.cpp
+++ b/benchmarks/cdeq_benchmark.cpp
@@ -3,7 +3,7 @@
#include <deque>
#include <vector>
#include <stc/cdeq.h>
-#include <stc/crand.h>
+#include <stc/crandom.h>
enum {N = 1000000000, M = 12345, P = 5000, R = 2000};
using_cdeq(i, int);
diff --git a/benchmarks/cmap_benchmark.cpp b/benchmarks/cmap_benchmark.cpp
index 47f60b00..967c8abe 100644
--- a/benchmarks/cmap_benchmark.cpp
+++ b/benchmarks/cmap_benchmark.cpp
@@ -1,6 +1,6 @@
#include <stdio.h>
#include <time.h>
-#include <stc/crand.h>
+#include <stc/crandom.h>
#include <stc/cstr.h>
#include <stc/cmap.h>
#include "others/khash.h"
diff --git a/benchmarks/cmap_benchmark2.cpp b/benchmarks/cmap_benchmark2.cpp
index 33f5c675..54d6e7d9 100644
--- a/benchmarks/cmap_benchmark2.cpp
+++ b/benchmarks/cmap_benchmark2.cpp
@@ -1,4 +1,4 @@
-#include <stc/crand.h>
+#include <stc/crandom.h>
#include <stc/cstr.h>
#include <stc/cmap.h>
#include <cmath>
diff --git a/benchmarks/cpque_benchmark.cpp b/benchmarks/cpque_benchmark.cpp
index 396d763d..d3c00803 100644
--- a/benchmarks/cpque_benchmark.cpp
+++ b/benchmarks/cpque_benchmark.cpp
@@ -1,6 +1,6 @@
#include <stdio.h>
#include <time.h>
-#include <stc/crand.h>
+#include <stc/crandom.h>
#include <stc/cvec.h>
#include <stc/cpque.h>
diff --git a/benchmarks/crand_benchmark.cpp b/benchmarks/crand_benchmark.cpp
index 3d42c62b..136dcf30 100644
--- a/benchmarks/crand_benchmark.cpp
+++ b/benchmarks/crand_benchmark.cpp
@@ -1,7 +1,7 @@
#include <cstdint>
#include <iostream>
#include <ctime>
-#include <stc/crand.h>
+#include <stc/crandom.h>
static inline uint64_t rotl64(const uint64_t x, const int k)
{ return (x << k) | (x >> (64 - k)); }
diff --git a/benchmarks/crand_benchmark2.cpp b/benchmarks/crand_benchmark2.cpp
index 2692e760..6a517a0b 100644
--- a/benchmarks/crand_benchmark2.cpp
+++ b/benchmarks/crand_benchmark2.cpp
@@ -1,7 +1,7 @@
#include <stdio.h>
#include <time.h>
#include <random>
-#include "stc/crand.h"
+#include "stc/crandom.h"
#include "others/pcg_random.hpp"
static struct stc32_state { stc64_t rng; uint64_t spare; unsigned n; } stc32_global =
diff --git a/benchmarks/vector_vs_deque.cpp b/benchmarks/vector_vs_deque.cpp
index c9e612f2..a488b7ab 100644
--- a/benchmarks/vector_vs_deque.cpp
+++ b/benchmarks/vector_vs_deque.cpp
@@ -8,7 +8,7 @@
#include <stc/cvec.h>
#include <stc/cdeq.h>
#include <stc/cstr.h>
-#include <stc/crand.h>
+#include <stc/crandom.h>
typedef struct {const char* first; int second;} Si;
using_cvec(si, Si, c_no_compare);