1
0
mirror of https://github.com/wolfpld/tracy synced 2025-04-29 04:23:51 +00:00

Remove CPU topology tooltip from zone info window.

This commit is contained in:
Bartosz Taudul 2020-04-24 01:44:25 +02:00
parent 14ec246659
commit 170aeea864

View File

@ -6433,29 +6433,11 @@ void View::DrawZoneInfoWindow()
if( numCpus == 0 )
{
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;
}
else
{
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();
}
}
}
}