From 928aaaf860dd2b7c28862775bc005ae828383065 Mon Sep 17 00:00:00 2001 From: Erik Strand <erik.strand@cba.mit.edu> Date: Sun, 25 Nov 2018 23:01:40 -0500 Subject: [PATCH] Up number of iterations per thread --- pi_threads.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pi_threads.cpp b/pi_threads.cpp index 444959c..7cb1be6 100644 --- a/pi_threads.cpp +++ b/pi_threads.cpp @@ -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; -- GitLab