Lines Matching refs:state
37 void BM_MainThread(benchmark::State& state) {
38 for (auto _ : state) {
40 state.SetIterationTime(time_frame_in_sec);
42 state.counters["invtime"] =
79 void BM_WorkerThread(benchmark::State& state) {
80 for (auto _ : state) {
83 state.SetIterationTime(time_frame_in_sec);
85 state.counters["invtime"] =
122 void BM_MainThreadAndWorkerThread(benchmark::State& state) {
123 for (auto _ : state) {
127 state.SetIterationTime(time_frame_in_sec);
129 state.counters["invtime"] =