Home | History | Annotate | Download | only in test

Lines Matching refs:state

11 void BM_empty(benchmark::State& state) {
12 while (state.KeepRunning()) {
13 volatile std::size_t x = state.iterations();
21 void BM_old_arg_range_interface(benchmark::State& state) {
22 assert((state.range(0) == 1 && state.range(1) == 2) ||
23 (state.range(0) == 5 && state.range(1) == 6));
24 while (state.KeepRunning()) {
30 void BM_template2(benchmark::State& state) {
31 BM_empty(state);
36 void BM_template1(benchmark::State& state) {
37 BM_empty(state);
42 void BM_counters(benchmark::State& state) {
43 BM_empty(state);
44 state.counters["Foo"] = 2;