MCPcopy Create free account
hub / github.com/defold/defold / ShouldRetainLuaProfilerScopeState

Function ShouldRetainLuaProfilerScopeState

engine/profiler/src/profiler.cpp:150–153  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

148}
149
150static bool ShouldRetainLuaProfilerScopeState(LuaProfilerScopeState* state)
151{
152 return !state->m_Scopes.Empty() || state->m_IsMainThread;
153}
154
155static void DeleteEmptyLuaProfilerScopeStates()
156{

Callers 1

Calls 1

EmptyMethod · 0.45

Tested by

no test coverage detected