1 #include "benchmark/benchmark.h" 2 BM_empty(benchmark::State & state)3 void BM_empty(benchmark::State& state) { 4 for (auto _ : state) { 5 benchmark::DoNotOptimize(state.iterations()); 6 } 7 } 8 BENCHMARK(BM_empty); 9