diff --git a/pi_threads.cpp b/pi_threads.cpp index 444959c57f428fa6c5983589b43ef88c00bfbfac..7cb1be6ef81e105c8c705925d5365608ea9db0c4 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;