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()
99 void BM_KeepRunning(benchmark::State& state) { in BM_KeepRunning()
100 benchmark::IterationCount iter_count = 0; in BM_KeepRunning()
109 void BM_KeepRunningBatch(benchmark::State& state) { in BM_KeepRunningBatch()
114 const benchmark::IterationCount batch_size = 1009; in BM_KeepRunningBatch()
116 static benchmark::IterationCount prior_iter_count = 0; in BM_KeepRunningBatch()
117 benchmark::IterationCount iter_count = 0; in BM_KeepRunningBatch()
135 void BM_RangedFor(benchmark::State& state) { in BM_RangedFor()
136 benchmark::IterationCount iter_count = 0; in BM_RangedFor()
146 void BM_OneTemplateFunc(benchmark::State& state) { in BM_OneTemplateFunc()
157 void BM_TwoTemplateFunc(benchmark::State& state) { in BM_TwoTemplateFunc()
175 benchmark::State::StateIterator>::value_type,
176 typename benchmark::State::StateIterator::value_type>::value,