diff --git a/src/benchmark.cc b/src/benchmark.cc index a4fd2e92..974cde6c 100644 --- a/src/benchmark.cc +++ b/src/benchmark.cc @@ -383,7 +383,7 @@ void RunBenchmarks(const std::vector& benchmarks, BenchmarkReporter::PerFamilyRunReports* reports_for_family = nullptr; if (benchmark.complexity() != oNone) reports_for_family = &per_family_reports[benchmark.family_index()]; - benchmarks_with_threads += (benchmark.threads() > 0); + benchmarks_with_threads += (benchmark.threads() > 1); runners.emplace_back(benchmark, &perfcounters, reports_for_family); int num_repeats_of_this_instance = runners.back().GetNumRepeats(); num_repetitions_total += num_repeats_of_this_instance;