MCPcopy Create free account
hub / github.com/DFHack/dfhack / recordRepeatRuntime

Function recordRepeatRuntime

library/LuaApi.cpp:3658–3661  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3656}
3657
3658static void recordRepeatRuntime(string name, uint32_t start_ms) {
3659 auto & counters = Core::getInstance().perf_counters;
3660 counters.incCounter(counters.update_lua_per_repeat[name.c_str()], start_ms);
3661}
3662
3663static void recordZScreenRuntime(string name, uint32_t start_ms) {
3664 auto & counters = Core::getInstance().perf_counters;

Callers

nothing calls this directly

Calls 2

incCounterMethod · 0.80
c_strMethod · 0.80

Tested by

no test coverage detected