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:
parent
bc4016e97c
commit
7e17c8643c
@ -1269,6 +1269,8 @@ void SourceView::RenderSymbolView( Worker& worker, View& view )
|
||||
ImGui::Spacing();
|
||||
ImGui::SameLine();
|
||||
}
|
||||
if( m_cost == CostType::SampleCount )
|
||||
{
|
||||
if( !slzReady )
|
||||
{
|
||||
ImGui::PushItemFlag( ImGuiItemFlags_Disabled, true );
|
||||
@ -1344,6 +1346,11 @@ void SourceView::RenderSymbolView( Worker& worker, View& view )
|
||||
ImGui::EndTooltip();
|
||||
}
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
TextFocused( "Events:", RealToString( iptotalAsm.local ) );
|
||||
}
|
||||
ImGui::SameLine();
|
||||
ImGui::Spacing();
|
||||
ImGui::SameLine();
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user