diff --git a/core/benchmarks/histogram_bench.cc b/core/benchmarks/histogram_bench.cc index 9bcbb6c0..5d929702 100644 --- a/core/benchmarks/histogram_bench.cc +++ b/core/benchmarks/histogram_bench.cc @@ -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;