| 29 | BENCHMARK(BM_SwitchGet); |
| 30 | |
| 31 | static void BM_SwitchSet(benchmark::State& state) { |
| 32 | volatile int x = 0; |
| 33 | BM_SwitchOp(state, [&x](auto& s, auto id, bool val) { x = s.Set(id, val); }); |
| 34 | } |
| 35 | |
| 36 | BENCHMARK(BM_SwitchSet); |
| 37 |
nothing calls this directly
no test coverage detected