We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c234637 commit 87b3a58Copy full SHA for 87b3a58
benchmark/histogram_parallel_filling.cpp
@@ -5,7 +5,7 @@
5
// or copy at http://www.boost.org/LICENSE_1_0.txt)
6
7
#include <benchmark/benchmark.h>
8
-#include <boost/histogram/accumulators/thread_safe.hpp>
+#include <boost/histogram/accumulators/count.hpp>
9
#include <boost/histogram/axis/regular.hpp>
10
#include <boost/histogram/histogram.hpp>
11
#include <boost/histogram/make_histogram.hpp>
@@ -29,7 +29,7 @@ using namespace boost::histogram;
29
using namespace std::chrono_literals;
30
31
using DS = dense_storage<unsigned>;
32
-using DSTS = dense_storage<accumulators::thread_safe<unsigned>>;
+using DSTS = dense_storage<accumulators::count<unsigned, true>>;
33
34
static void NoThreads(benchmark::State& state) {
35
std::default_random_engine gen(1);
0 commit comments