Skip to content

Commit

Permalink
test(core): properly declare manual time
Browse files Browse the repository at this point in the history
Fix: #688
  • Loading branch information
gjasny committed Jan 22, 2024
1 parent f25f74b commit e8c26f4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/benchmarks/histogram_bench.cc
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ static void BM_Histogram_Observe(benchmark::State& state) {
state.SetIterationTime(elapsed_seconds.count());
}
}
BENCHMARK(BM_Histogram_Observe)->Range(0, 4096);
BENCHMARK(BM_Histogram_Observe)->Range(0, 4096)->UseManualTime();

static void BM_Histogram_Collect(benchmark::State& state) {
using prometheus::BuildHistogram;
Expand Down

0 comments on commit e8c26f4

Please sign in to comment.