This reverts commitb2fbd45d23. D114922 fixed the reason of the 2nd revert. This patch also re-applies39e9f5d368. Differential Revision: https://reviews.llvm.org/D112012
9 lines
177 B
C++
9 lines
177 B
C++
#include "benchmark/benchmark.h"
|
|
|
|
void BM_empty(benchmark::State& state) {
|
|
for (auto _ : state) {
|
|
benchmark::DoNotOptimize(state.iterations());
|
|
}
|
|
}
|
|
BENCHMARK(BM_empty);
|