MCPcopy Create free account
hub / github.com/EasyRPG/Player / BM_SwitchFlipRange

Function BM_SwitchFlipRange

bench/switches.cpp:61–63  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

59BENCHMARK(BM_SwitchSetRange);
60
61static void BM_SwitchFlipRange(benchmark::State& state) {
62 BM_SwitchOp(state, [](auto& s, auto, bool) { s.FlipRange(1, max_sws); });
63}
64
65BENCHMARK(BM_SwitchFlipRange);
66

Callers

nothing calls this directly

Calls 2

BM_SwitchOpFunction · 0.85
FlipRangeMethod · 0.80

Tested by

no test coverage detected