diff options
| author | Tyge Løvset <[email protected]> | 2020-12-31 09:39:48 +0100 |
|---|---|---|
| committer | Tyge Løvset <[email protected]> | 2020-12-31 09:39:48 +0100 |
| commit | 5c86a9ec884598c1ceb6f4b564248de99d6e05d7 (patch) | |
| tree | f448a2d9c00660b76bdbf9aebb29a55cf61b8c94 /benchmarks | |
| parent | 3a01dac7e392da596c007cd69d089865daf4c50c (diff) | |
| download | STC-modified-5c86a9ec884598c1ceb6f4b564248de99d6e05d7.tar.gz STC-modified-5c86a9ec884598c1ceb6f4b564248de99d6e05d7.zip | |
Some minor touches.
Diffstat (limited to 'benchmarks')
| -rw-r--r-- | benchmarks/crand_benchmark.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/benchmarks/crand_benchmark.cpp b/benchmarks/crand_benchmark.cpp index 70a3bb45..3d42c62b 100644 --- a/benchmarks/crand_benchmark.cpp +++ b/benchmarks/crand_benchmark.cpp @@ -84,7 +84,7 @@ using namespace std; int main(void)
{
- enum {N = 1000000000};
+ enum {N = 800000000};
uint64_t* recipient = new uint64_t[N];
static stc64_t rng;
init_state(rng.state, 12345123);
@@ -115,7 +115,7 @@ int main(void) for (size_t i = 0; i < N; i++)
recipient[i] = stc64_rand(&rng);
end = clock();
- cout << "stc-crand:\t"
+ cout << "stc64:\t\t"
<< (float(end - beg) / CLOCKS_PER_SEC)
<< " s: " << recipient[312] << endl;
@@ -160,7 +160,7 @@ int main(void) for (size_t i = 0; i < N; i++)
s += stc64_rand(&rng);
end = clock();
- cout << "stc-crand:\t"
+ cout << "stc64:\t\t"
<< ((float) end - beg) / CLOCKS_PER_SEC
<< " s: " << s << endl;
|
