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

Function recordZScreenRuntime

library/LuaApi.cpp:3663–3666  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3661}
3662
3663static void recordZScreenRuntime(string name, uint32_t start_ms) {
3664 auto & counters = Core::getInstance().perf_counters;
3665 counters.incCounter(counters.zscreen_per_focus[name.c_str()], start_ms);
3666}
3667
3668static uint32_t getUnpausedFps() {
3669 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