mirror of
https://github.com/wolfpld/tracy
synced 2025-05-02 05:33:53 +00:00
Remove CPU topology tooltip from zone info window.
This commit is contained in:
parent
14ec246659
commit
170aeea864
@ -6433,29 +6433,11 @@ void View::DrawZoneInfoWindow()
|
|||||||
if( numCpus == 0 )
|
if( numCpus == 0 )
|
||||||
{
|
{
|
||||||
ImGui::Text( "%i", i );
|
ImGui::Text( "%i", i );
|
||||||
auto tt = m_worker.GetThreadTopology( i );
|
|
||||||
if( tt && ImGui::IsItemHovered() )
|
|
||||||
{
|
|
||||||
ImGui::BeginTooltip();
|
|
||||||
TextFocused( "Package:", RealToString( tt->package ) );
|
|
||||||
ImGui::SameLine();
|
|
||||||
TextFocused( "Core:", RealToString( tt->core ) );
|
|
||||||
ImGui::EndTooltip();
|
|
||||||
}
|
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
ImGui::Text( "%i,", i );
|
ImGui::Text( "%i,", i );
|
||||||
auto tt = m_worker.GetThreadTopology( i );
|
|
||||||
if( tt && ImGui::IsItemHovered() )
|
|
||||||
{
|
|
||||||
ImGui::BeginTooltip();
|
|
||||||
TextFocused( "Package:", RealToString( tt->package ) );
|
|
||||||
ImGui::SameLine();
|
|
||||||
TextFocused( "Core:", RealToString( tt->core ) );
|
|
||||||
ImGui::EndTooltip();
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user