No cumulate time for frames.

This commit is contained in:
Bartosz Taudul
2026-06-30 16:57:19 +02:00
parent d34659f57b
commit ed1a4b06b6

View File

@@ -321,6 +321,7 @@ void View::DrawCompare()
if( ImGui::BeginTabItem( "Frames" ) )
{
m_compare.compareMode = 1;
m_compare.cumulateTime = false;
ImGui::EndTabItem();
}
if( ImGui::BeginTabItem( "Source diff" ) )
@@ -814,8 +815,11 @@ void View::DrawCompare()
ImGui::SameLine();
SmallCheckbox( "Log time", &m_compare.logTime );
ImGui::SameLine();
SmallCheckbox( "Cumulate time", &m_compare.cumulateTime );
ImGui::SameLine();
if( m_compare.compareMode == 0 )
{
SmallCheckbox( "Cumulate time", &m_compare.cumulateTime );
ImGui::SameLine();
}
DrawHelpMarker( "Show total time taken by calls in each bin instead of call counts." );
ImGui::SameLine();
SmallCheckbox( "Normalize values", &m_compare.normalize );