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