mirror of
https://github.com/wolfpld/tracy.git
synced 2024-11-10 10:41:50 +00:00
Display number of threads for pids in CPU data list.
This commit is contained in:
parent
0837463f05
commit
57a2b62edc
@ -10678,6 +10678,12 @@ void View::DrawCpuDataWindow()
|
||||
}
|
||||
const auto pidtxt = pid.first == 0 ? "Unknown" : RealToString( pid.first, true );
|
||||
const auto expand = ImGui::TreeNode( pidtxt );
|
||||
const auto tsz = pid.second.tids.size();
|
||||
if( tsz > 1 )
|
||||
{
|
||||
ImGui::SameLine();
|
||||
ImGui::TextDisabled( "(%s)", RealToString( tsz, true ) );
|
||||
}
|
||||
ImGui::NextColumn();
|
||||
ImGui::TextUnformatted( pid.first == 0 ? "???" : name );
|
||||
ImGui::NextColumn();
|
||||
|
Loading…
Reference in New Issue
Block a user