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

Class ThreadSortTimePred

engine/profiler/src/profiler_render.cpp:458–465  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

456 }
457
458 struct ThreadSortTimePred
459 {
460 ThreadSortTimePred() {}
461 bool operator()(ProfilerThread* a, ProfilerThread* b) const
462 {
463 return a->m_SamplesTotalTime > b->m_SamplesTotalTime;
464 }
465 };
466
467
468 static void Draw(HRenderProfile render_profile, dmRender::HRenderContext render_context, dmRender::HFontMap font_map, const Size display_size, DisplayMode display_mode)

Callers 1

DrawFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected