MCPcopy Create free account
hub / github.com/OpenStarbound/OpenStarbound / setProfilingEnabled

Method setProfilingEnabled

source/core/StarLua.cpp:407–413  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

405}
406
407void LuaEngine::setProfilingEnabled(bool profilingEnabled) {
408 if (profilingEnabled != m_profilingEnabled) {
409 m_profilingEnabled = profilingEnabled;
410 m_profileEntries.clear();
411 updateCountHook();
412 }
413}
414
415bool LuaEngine::profilingEnabled() const {
416 return m_profilingEnabled;

Callers 2

restartMethod · 0.80
TESTFunction · 0.80

Calls 1

clearMethod · 0.45

Tested by 1

TESTFunction · 0.64