| 230 | } |
| 231 | |
| 232 | static void record_widget_runtime(string name, uint32_t start_ms) { |
| 233 | auto & counters = Core::getInstance().perf_counters; |
| 234 | counters.incCounter(counters.overlay_per_widget[name.c_str()], start_ms); |
| 235 | } |
| 236 | |
| 237 | DFHACK_PLUGIN_LUA_FUNCTIONS { |
| 238 | DFHACK_LUA_FUNCTION(record_widget_runtime), |
nothing calls this directly
no test coverage detected