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

Function GetLuaProfilerScopeName

engine/profiler/src/profiler.cpp:191–194  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

189}
190
191static const char* GetLuaProfilerScopeName(LuaProfilerScopeState* state, const LuaProfilerScope* scope)
192{
193 return state->m_Names.Begin() + scope->m_NameOffset;
194}
195
196static void PushLuaProfilerScope(lua_State* L, const char* name, uint32_t name_length)
197{

Callers 2

ProfilerScopeEndFunction · 0.85

Calls 1

BeginMethod · 0.45

Tested by

no test coverage detected