Lines Matching refs:benchmark

6 void BM_empty(benchmark::State& state) {  in BM_empty()
8 benchmark::DoNotOptimize(state.iterations()); in BM_empty()
14 void BM_spin_empty(benchmark::State& state) { in BM_spin_empty()
17 benchmark::DoNotOptimize(x); in BM_spin_empty()
24 void BM_spin_pause_before(benchmark::State& state) { in BM_spin_pause_before()
26 benchmark::DoNotOptimize(i); in BM_spin_pause_before()
30 benchmark::DoNotOptimize(i); in BM_spin_pause_before()
37 void BM_spin_pause_during(benchmark::State& state) { in BM_spin_pause_during()
41 benchmark::DoNotOptimize(i); in BM_spin_pause_during()
45 benchmark::DoNotOptimize(i); in BM_spin_pause_during()
52 void BM_pause_during(benchmark::State& state) { in BM_pause_during()
63 void BM_spin_pause_after(benchmark::State& state) { in BM_spin_pause_after()
66 benchmark::DoNotOptimize(i); in BM_spin_pause_after()
70 benchmark::DoNotOptimize(i); in BM_spin_pause_after()
76 void BM_spin_pause_before_and_after(benchmark::State& state) { in BM_spin_pause_before_and_after()
78 benchmark::DoNotOptimize(i); in BM_spin_pause_before_and_after()
82 benchmark::DoNotOptimize(i); in BM_spin_pause_before_and_after()
86 benchmark::DoNotOptimize(i); in BM_spin_pause_before_and_after()
92 void BM_empty_stop_start(benchmark::State& state) { in BM_empty_stop_start()
100 void BM_KeepRunning(benchmark::State& state) { in BM_KeepRunning()
110 void BM_KeepRunningBatch(benchmark::State& state) { in BM_KeepRunningBatch()
121 void BM_RangedFor(benchmark::State& state) { in BM_RangedFor()
133 typename std::iterator_traits<benchmark::State::StateIterator>::value_type,
134 typename benchmark::State::StateIterator::value_type>::value, "");