Lines Matching full:state
15 void BM_empty(benchmark::State& state) { in BM_empty() argument
16 while (state.KeepRunning()) { in BM_empty()
17 volatile benchmark::IterationCount x = state.iterations(); in BM_empty()
25 void BM_old_arg_range_interface(benchmark::State& state) { in BM_old_arg_range_interface() argument
26 assert((state.range(0) == 1 && state.range(1) == 2) || in BM_old_arg_range_interface()
27 (state.range(0) == 5 && state.range(1) == 6)); in BM_old_arg_range_interface()
28 while (state.KeepRunning()) { in BM_old_arg_range_interface()
34 void BM_template2(benchmark::State& state) { in BM_template2() argument
35 BM_empty(state); in BM_template2()
40 void BM_template1(benchmark::State& state) { in BM_template1() argument
41 BM_empty(state); in BM_template1()
49 BENCHMARK_TEMPLATE_F(BM_Fixture, BM_template1, long)(benchmark::State& state) { in BENCHMARK_TEMPLATE_F()
50 BM_empty(state); in BENCHMARK_TEMPLATE_F()
52 BENCHMARK_TEMPLATE1_F(BM_Fixture, BM_template2, int)(benchmark::State& state) { in BENCHMARK_TEMPLATE1_F()
53 BM_empty(state); in BENCHMARK_TEMPLATE1_F()
56 void BM_counters(benchmark::State& state) { in BM_counters() argument
57 BM_empty(state); in BM_counters()
58 state.counters["Foo"] = 2; in BM_counters()