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

Function BM_VariableMod

bench/variables.cpp:66–69  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

64BENCHMARK(BM_VariableDiv);
65
66static void BM_VariableMod(benchmark::State& state) {
67 volatile int x = 0;
68 BM_VariableOp(state, [&x](auto& v, auto id, auto val) { x = v.Mod(id, val); });
69}
70
71BENCHMARK(BM_VariableMod);
72

Callers

nothing calls this directly

Calls 2

BM_VariableOpFunction · 0.85
ModMethod · 0.80

Tested by

no test coverage detected