mirror of
https://github.com/wolfpld/tracy.git
synced 2025-03-20 07:40:02 +08:00
Display count of per-cpu context switch data.
This commit is contained in:
@@ -9154,6 +9154,8 @@ void View::DrawInfo()
|
||||
TextFocused( "Call stack frames:", RealToString( m_worker.GetCallstackFrameCount(), true ) );
|
||||
TextFocused( "Frame images:", RealToString( ficnt, true ) );
|
||||
TextFocused( "Context switch regions:", RealToString( m_worker.GetContextSwitchCount(), true ) );
|
||||
ImGui::SameLine();
|
||||
TextFocused( "+", RealToString( m_worker.GetContextSwitchPerCpuCount(), true ) );
|
||||
ImGui::TreePop();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user