diff --git a/server/TracyView.cpp b/server/TracyView.cpp index eb4f5916..286cc5e4 100644 --- a/server/TracyView.cpp +++ b/server/TracyView.cpp @@ -5767,6 +5767,9 @@ void View::DrawInfo() TextFocused( "Lock events:", RealToString( m_worker.GetLockCount(), true ) ); TextFocused( "Plot data points:", RealToString( m_worker.GetPlotCount(), true ) ); TextFocused( "Memory allocations:", RealToString( m_worker.GetMemData().data.size(), true ) ); + TextFocused( "Source locations:", RealToString( m_worker.GetSrcLocCount(), true ) ); + TextFocused( "Callstacks:", RealToString( m_worker.GetCallstackPayloadCount(), true ) ); + TextFocused( "Callstack frames:", RealToString( m_worker.GetCallstackFrameCount(), true ) ); ImGui::Separator(); TextFocused( "Frame set:", m_frames->name == 0 ? "Frames" : m_worker.GetString( m_frames->name ) ); TextFocused( "Count:", RealToString( m_frames->frames.size(), true ) ); diff --git a/server/TracyWorker.hpp b/server/TracyWorker.hpp index 0cee39ed..831acf06 100644 --- a/server/TracyWorker.hpp +++ b/server/TracyWorker.hpp @@ -184,6 +184,9 @@ public: uint64_t GetZoneCount() const { return m_data.zonesCnt; } uint64_t GetLockCount() const; uint64_t GetPlotCount() const; + uint64_t GetSrcLocCount() const { return m_data.sourceLocationPayload.size() + m_data.sourceLocation.size(); } + uint64_t GetCallstackPayloadCount() const { return m_data.callstackPayload.size() - 1; } + uint64_t GetCallstackFrameCount() const { return m_data.callstackFrameMap.size(); } uint64_t GetFrameOffset() const { return m_data.frameOffset; } const FrameData* GetFramesBase() const { return m_data.framesBase; } const Vector& GetFrames() const { return m_data.frames.Data(); }