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:
parent
14ec246659
commit
170aeea864
@ -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();
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user