Skip to content

Commit 651da4a

Browse files
committed
test(core): properly declare manual time
Fix: #688
1 parent 76fa3fe commit 651da4a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

core/benchmarks/histogram_bench.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ static void BM_Histogram_Observe(benchmark::State& state) {
4848
state.SetIterationTime(elapsed_seconds.count());
4949
}
5050
}
51-
BENCHMARK(BM_Histogram_Observe)->Range(0, 4096);
51+
BENCHMARK(BM_Histogram_Observe)->Range(0, 4096)->UseManualTime();
5252

5353
static void BM_Histogram_Collect(benchmark::State& state) {
5454
using prometheus::BuildHistogram;

0 commit comments

Comments
 (0)