From 170aeea8641cea8f19595a0654e9fdb2655b40ff Mon Sep 17 00:00:00 2001 From: Bartosz Taudul Date: Fri, 24 Apr 2020 01:44:25 +0200 Subject: [PATCH] Remove CPU topology tooltip from zone info window. --- server/TracyView.cpp | 18 ------------------ 1 file changed, 18 deletions(-) diff --git a/server/TracyView.cpp b/server/TracyView.cpp index afb8aef2..e26db6b7 100644 --- a/server/TracyView.cpp +++ b/server/TracyView.cpp @@ -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(); - } } } }