mirror of
https://github.com/wolfpld/tracy.git
synced 2024-11-27 08:14:34 +00:00
Display frame address in tooltip.
This commit is contained in:
parent
6444051382
commit
e11bf1d62d
@ -3535,6 +3535,8 @@ int View::DrawGhostLevel( const Vector<GhostZone>& vec, bool hover, double pxns,
|
|||||||
const auto file = m_worker.GetString( frame->data[i].file );
|
const auto file = m_worker.GetString( frame->data[i].file );
|
||||||
const auto line = frame->data[i].line;
|
const auto line = frame->data[i].line;
|
||||||
ImGui::Text( "%s:%i", file, line );
|
ImGui::Text( "%s:%i", file, line );
|
||||||
|
ImGui::SameLine();
|
||||||
|
ImGui::TextDisabled( "(0x%" PRIx64 ")", m_worker.GetCanonicalPointer( ghostFrame ) );
|
||||||
TextFocused( "Thread:", m_worker.GetThreadName( tid ) );
|
TextFocused( "Thread:", m_worker.GetThreadName( tid ) );
|
||||||
ImGui::SameLine();
|
ImGui::SameLine();
|
||||||
ImGui::TextDisabled( "(%s)", RealToString( tid ) );
|
ImGui::TextDisabled( "(%s)", RealToString( tid ) );
|
||||||
|
Loading…
Reference in New Issue
Block a user