mirror of
https://github.com/wolfpld/tracy
synced 2025-05-05 06:33:52 +00:00
Display unknown pid as unknown.
This commit is contained in:
parent
faac08865a
commit
c5060da185
@ -10426,7 +10426,8 @@ void View::DrawCpuDataWindow()
|
|||||||
for( auto& pidit : psort )
|
for( auto& pidit : psort )
|
||||||
{
|
{
|
||||||
auto& pid = *pidit;
|
auto& pid = *pidit;
|
||||||
const auto expand = ImGui::TreeNode( RealToString( pid.first, true ) );
|
const auto pidtxt = pid.first == 0 ? "Unknown" : RealToString( pid.first, true );
|
||||||
|
const auto expand = ImGui::TreeNode( pidtxt );
|
||||||
ImGui::NextColumn();
|
ImGui::NextColumn();
|
||||||
ImGui::TextUnformatted( m_worker.GetExternalName( pid.second.tids[0] ).first );
|
ImGui::TextUnformatted( m_worker.GetExternalName( pid.second.tids[0] ).first );
|
||||||
ImGui::NextColumn();
|
ImGui::NextColumn();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user