1
0
mirror of https://github.com/wolfpld/tracy.git synced 2025-03-20 07:40:02 +08:00

Don't show hw events as time.

This commit is contained in:
Bartosz Taudul 2021-06-20 01:08:18 +02:00
parent bc4016e97c
commit 7e17c8643c
No known key found for this signature in database
GPG Key ID: B7FE2008B7575DF3

View File

@ -1269,6 +1269,8 @@ void SourceView::RenderSymbolView( Worker& worker, View& view )
ImGui::Spacing(); ImGui::Spacing();
ImGui::SameLine(); ImGui::SameLine();
} }
if( m_cost == CostType::SampleCount )
{
if( !slzReady ) if( !slzReady )
{ {
ImGui::PushItemFlag( ImGuiItemFlags_Disabled, true ); ImGui::PushItemFlag( ImGuiItemFlags_Disabled, true );
@ -1344,6 +1346,11 @@ void SourceView::RenderSymbolView( Worker& worker, View& view )
ImGui::EndTooltip(); ImGui::EndTooltip();
} }
} }
}
else
{
TextFocused( "Events:", RealToString( iptotalAsm.local ) );
}
ImGui::SameLine(); ImGui::SameLine();
ImGui::Spacing(); ImGui::Spacing();
ImGui::SameLine(); ImGui::SameLine();