mirror of
https://github.com/wolfpld/tracy.git
synced 2025-03-20 07:40:02 +08:00
Display thread from which message originated on msg list.
This commit is contained in:
parent
53aea660c8
commit
0a79243332
@ -3171,9 +3171,11 @@ void View::DrawOptions()
|
|||||||
void View::DrawMessages()
|
void View::DrawMessages()
|
||||||
{
|
{
|
||||||
ImGui::Begin( "Messages", &m_showMessages );
|
ImGui::Begin( "Messages", &m_showMessages );
|
||||||
ImGui::Columns( 2 );
|
ImGui::Columns( 3 );
|
||||||
ImGui::Text( "Time" );
|
ImGui::Text( "Time" );
|
||||||
ImGui::NextColumn();
|
ImGui::NextColumn();
|
||||||
|
ImGui::Text( "Thread" );
|
||||||
|
ImGui::NextColumn();
|
||||||
ImGui::Text( "Message" );
|
ImGui::Text( "Message" );
|
||||||
ImGui::NextColumn();
|
ImGui::NextColumn();
|
||||||
ImGui::Separator();
|
ImGui::Separator();
|
||||||
@ -3189,6 +3191,10 @@ void View::DrawMessages()
|
|||||||
}
|
}
|
||||||
ImGui::PopID();
|
ImGui::PopID();
|
||||||
ImGui::NextColumn();
|
ImGui::NextColumn();
|
||||||
|
ImGui::Text( "%s", m_worker.GetThreadString( v->thread ) );
|
||||||
|
ImGui::SameLine();
|
||||||
|
ImGui::TextDisabled( "(0x%" PRIX64 ")", v->thread );
|
||||||
|
ImGui::NextColumn();
|
||||||
ImGui::TextWrapped( "%s", m_worker.GetString( v->ref ) );
|
ImGui::TextWrapped( "%s", m_worker.GetString( v->ref ) );
|
||||||
ImGui::NextColumn();
|
ImGui::NextColumn();
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user