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

Function NewRenderProfile

engine/profiler/src/profiler_render.cpp:736–740  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

734 }
735
736 HRenderProfile NewRenderProfile(float fps)
737 {
738 const uint32_t LIFETIME_IN_MILLISECONDS = 6000u;
739 return new RenderProfile(fps, 1000000.0f, LIFETIME_IN_MILLISECONDS);
740 }
741
742 static ProfilerThread* GetSelectedThread(HRenderProfile render_profile, ProfilerFrame* frame)
743 {

Callers 3

ToggleProfilerFunction · 0.85
EnableProfilerUIFunction · 0.85
TEST_FFunction · 0.85

Calls

no outgoing calls

Tested by 1

TEST_FFunction · 0.68