Sort inline functions list by time spent in function.

This commit is contained in:
Bartosz Taudul 2020-04-12 16:13:39 +02:00
parent a0f7cb41c3
commit 0794cf56ff

View File

@ -440,6 +440,7 @@ void SourceView::RenderSymbolView( const Worker& worker )
}
inlineList++;
}
pdqsort_branchless( symInline.begin(), symInline.end(), []( const auto& l, const auto& r ) { return l.second == r.second ? l.first < r.first : l.second > r.second; } );
ImGui::Columns( 3 );
static bool widthSet = false;