Lines Matching refs:state
91 static void Run(benchmark::State& state, size_t (*func)(void*), void* data)
94 for (const auto& _ : state) {
96 state.SkipWithError("Failed to unwind.");
107 static void BenchmarkUnwindStackLocal(benchmark::State& state)
112 state.SkipWithError("Failed to parse local maps.");
116 Run(state, UnwindLocal, &data);
125 static void BenchmarkUnwindStackLocalCache(benchmark::State& state)
130 state.SkipWithError("Failed to parse local maps.");
134 Run(state, UnwindLocal, &data);
143 static void BenchmarkUnwindStackLocalFrames(benchmark::State& state)
148 state.SkipWithError("Failed to parse local maps.");
152 Run(state, UnwindLocal, &data);
161 static void BenchmarkUnwindStackLocalFramesCache(benchmark::State& state)
166 state.SkipWithError("Failed to parse local maps.");
170 Run(state, UnwindLocal, &data);