mirror of
https://github.com/wolfpld/tracy.git
synced 2025-03-20 07:40:02 +08:00
Add no-statistics guards.
This commit is contained in:
@@ -13801,6 +13801,7 @@ void View::DrawInfo()
|
||||
}
|
||||
TextFocused( "Call stack samples:", RealToString( m_worker.GetCallstackSampleCount() ) );
|
||||
TextFocused( "Ghost zones:", RealToString( m_worker.GetGhostZonesCount() ) );
|
||||
#ifndef TRACY_NO_STATISTICS
|
||||
TextFocused( "Child sample symbols:", RealToString( m_worker.GetChildSamplesCountSyms() ) );
|
||||
if( ImGui::IsItemHovered() )
|
||||
{
|
||||
@@ -13808,6 +13809,7 @@ void View::DrawInfo()
|
||||
TextFocused( "Child samples:", RealToString( m_worker.GetChildSamplesCountFull() ) );
|
||||
ImGui::EndTooltip();
|
||||
}
|
||||
#endif
|
||||
TextFocused( "Frame images:", RealToString( ficnt ) );
|
||||
if( ficnt != 0 && ImGui::IsItemHovered() )
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user