summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorTyge Løvset <[email protected]>2021-02-24 20:55:25 +0100
committerTyge Løvset <[email protected]>2021-02-24 20:55:25 +0100
commit50c96c3ee5c25d9de38449a442679f895322f04e (patch)
tree583779c0ee123df061d0c59d9ab4a5b24d934967
parentf445a6dc81eb7d408edfcb9c106b23b92d48d3fd (diff)
downloadSTC-modified-50c96c3ee5c25d9de38449a442679f895322f04e.tar.gz
STC-modified-50c96c3ee5c25d9de38449a442679f895322f04e.zip
More file renames
-rw-r--r--benchmarks/shootout4_crand.cpp (renamed from benchmarks/crand_benchmark.cpp)0
-rw-r--r--benchmarks/shootout5_crand.cpp (renamed from benchmarks/crand_benchmark2.cpp)3
2 files changed, 1 insertions, 2 deletions
diff --git a/benchmarks/crand_benchmark.cpp b/benchmarks/shootout4_crand.cpp
index df13befd..df13befd 100644
--- a/benchmarks/crand_benchmark.cpp
+++ b/benchmarks/shootout4_crand.cpp
diff --git a/benchmarks/crand_benchmark2.cpp b/benchmarks/shootout5_crand.cpp
index 6a517a0b..eacca54a 100644
--- a/benchmarks/crand_benchmark2.cpp
+++ b/benchmarks/shootout5_crand.cpp
@@ -110,8 +110,7 @@ void test3(void)
before = clock();
sum = 0;
c_forrange (N) {
- //sum += stc64_rand(&rng);
- sum += rand();
+ sum += stc64_rand(&rng);
}
diff = clock() - before;
printf("stc64_random:\t\t%.02f, %zu sz:%zu\n", (float) diff / CLOCKS_PER_SEC, sum, sizeof rng);