Skip to content
Snippets Groups Projects
Commit 928aaaf8 authored by Erik Strand's avatar Erik Strand
Browse files

Up number of iterations per thread

parent d84e8f2e
Branches
Tags
No related merge requests found
......@@ -11,7 +11,7 @@ int main() {
// n_threads * n_iterations_per_thread + 1 must fit in a uint32_t
constexpr uint32_t n_threads = 4u;
constexpr uint32_t n_iterations_per_thread = 100000000u;
constexpr uint32_t n_iterations_per_thread = 1000000000u;
std::array<std::thread, n_threads> threads;
std::array<double, n_threads> thread_results;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment