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

Function BM_VariableDiv

bench/variables.cpp:59–62  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

57BENCHMARK(BM_VariableMult);
58
59static void BM_VariableDiv(benchmark::State& state) {
60 volatile int x = 0;
61 BM_VariableOp(state, [&x](auto& v, auto id, auto val) { x = v.Div(id, val); });
62}
63
64BENCHMARK(BM_VariableDiv);
65

Callers

nothing calls this directly

Calls 2

BM_VariableOpFunction · 0.85
DivMethod · 0.80

Tested by

no test coverage detected