mirror of
https://github.com/wolfpld/tracy.git
synced 2024-11-10 10:41:50 +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();
|
||||
TextDisabledUnformatted( "(profiled program)" );
|
||||
TextFocused( "Thread:", m_worker.GetThreadString( thread ) );
|
||||
ImGui::SameLine();
|
||||
ImGui::TextDisabled( "(0x%" PRIX64 ")", thread );
|
||||
}
|
||||
else
|
||||
{
|
||||
@ -4032,6 +4034,8 @@ int View::DrawCpuData( int offset, double pxns, const ImVec2& wpos, bool hover,
|
||||
TextDisabledUnformatted( "(external)" );
|
||||
}
|
||||
TextFocused( "Thread:", m_worker.GetExternalName( thread ).second );
|
||||
ImGui::SameLine();
|
||||
ImGui::TextDisabled( "(0x%" PRIX64 ")", thread );
|
||||
}
|
||||
ImGui::Separator();
|
||||
TextFocused( "Start time:", TimeToString( start ) );
|
||||
|
Loading…
Reference in New Issue
Block a user