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

Function BM_SwitchSetRange

bench/switches.cpp:55–57  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

53}
54
55static void BM_SwitchSetRange(benchmark::State& state) {
56 BM_SwitchOp(state, [](auto& s, auto, bool val) { s.SetRange(1, max_sws, val); });
57}
58
59BENCHMARK(BM_SwitchSetRange);
60

Callers

nothing calls this directly

Calls 2

BM_SwitchOpFunction · 0.85
SetRangeMethod · 0.45

Tested by

no test coverage detected