Merge branch 'bugfix/bm-is-rate' into develop

This commit is contained in:
Paul Ferrand 2019-11-22 17:55:08 +01:00
commit 9bc5e54b0b

View file

@ -49,7 +49,7 @@ static void Point(benchmark::State& state) {
out = envelope.getNextValue();
benchmark::DoNotOptimize(output);
}
state.counters["Per block"] = benchmark::Counter(envelopeSize / state.range(0), benchmark::Counter::kIsIterationInvariantRate);
state.counters["Per block"] = benchmark::Counter(envelopeSize / state.range(0), benchmark::Counter::kIsRate);
}
static void Block(benchmark::State& state) {
@ -63,7 +63,7 @@ static void Block(benchmark::State& state) {
benchmark::DoNotOptimize(output);
}
state.counters["Per block"] = benchmark::Counter(envelopeSize / state.range(0), benchmark::Counter::kIsIterationInvariantRate);
state.counters["Per block"] = benchmark::Counter(envelopeSize / state.range(0), benchmark::Counter::kIsRate);
}
BENCHMARK(Point)->RangeMultiplier(2)->Range((2<<6), (2<<11));