| 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) |