mirror of
https://github.com/wolfpld/tracy.git
synced 2025-03-20 07:40:02 +08:00
Display source file cache stats.
This commit is contained in:
@@ -12562,6 +12562,13 @@ void View::DrawInfo()
|
||||
ImGui::TextUnformatted( "Coarse CPU core context switch data" );
|
||||
ImGui::EndTooltip();
|
||||
}
|
||||
TextFocused( "Source file cache:", RealToString( m_worker.GetSourceFileCacheCount() ) );
|
||||
if( ImGui::IsItemHovered() )
|
||||
{
|
||||
ImGui::BeginTooltip();
|
||||
ImGui::TextUnformatted( MemSizeToString( m_worker.GetSourceFileCacheSize() ) );
|
||||
ImGui::EndTooltip();
|
||||
}
|
||||
ImGui::TreePop();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user