mirror of
https://github.com/wolfpld/tracy
synced 2025-05-08 16:03:53 +00:00
Display thread ids next to thread names in CPU data.
This commit is contained in:
parent
6c1dd8eaec
commit
65e62dea06
@ -4018,6 +4018,8 @@ int View::DrawCpuData( int offset, double pxns, const ImVec2& wpos, bool hover,
|
|||||||
ImGui::SameLine();
|
ImGui::SameLine();
|
||||||
TextDisabledUnformatted( "(profiled program)" );
|
TextDisabledUnformatted( "(profiled program)" );
|
||||||
TextFocused( "Thread:", m_worker.GetThreadString( thread ) );
|
TextFocused( "Thread:", m_worker.GetThreadString( thread ) );
|
||||||
|
ImGui::SameLine();
|
||||||
|
ImGui::TextDisabled( "(0x%" PRIX64 ")", thread );
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
@ -4032,6 +4034,8 @@ int View::DrawCpuData( int offset, double pxns, const ImVec2& wpos, bool hover,
|
|||||||
TextDisabledUnformatted( "(external)" );
|
TextDisabledUnformatted( "(external)" );
|
||||||
}
|
}
|
||||||
TextFocused( "Thread:", m_worker.GetExternalName( thread ).second );
|
TextFocused( "Thread:", m_worker.GetExternalName( thread ).second );
|
||||||
|
ImGui::SameLine();
|
||||||
|
ImGui::TextDisabled( "(0x%" PRIX64 ")", thread );
|
||||||
}
|
}
|
||||||
ImGui::Separator();
|
ImGui::Separator();
|
||||||
TextFocused( "Start time:", TimeToString( start ) );
|
TextFocused( "Start time:", TimeToString( start ) );
|
||||||
|
Loading…
x
Reference in New Issue
Block a user