Display child sample counts in info window.

This commit is contained in:
Bartosz Taudul 2021-04-18 15:06:54 +02:00
parent 34b80ac52f
commit 32e3c0ebb1
No known key found for this signature in database
GPG Key ID: B7FE2008B7575DF3

View File

@ -13801,6 +13801,13 @@ void View::DrawInfo()
} }
TextFocused( "Call stack samples:", RealToString( m_worker.GetCallstackSampleCount() ) ); TextFocused( "Call stack samples:", RealToString( m_worker.GetCallstackSampleCount() ) );
TextFocused( "Ghost zones:", RealToString( m_worker.GetGhostZonesCount() ) ); TextFocused( "Ghost zones:", RealToString( m_worker.GetGhostZonesCount() ) );
TextFocused( "Child sample symbols:", RealToString( m_worker.GetChildSamplesCountSyms() ) );
if( ImGui::IsItemHovered() )
{
ImGui::BeginTooltip();
TextFocused( "Child samples:", RealToString( m_worker.GetChildSamplesCountFull() ) );
ImGui::EndTooltip();
}
TextFocused( "Frame images:", RealToString( ficnt ) ); TextFocused( "Frame images:", RealToString( ficnt ) );
if( ficnt != 0 && ImGui::IsItemHovered() ) if( ficnt != 0 && ImGui::IsItemHovered() )
{ {