mirror of
https://github.com/wolfpld/tracy.git
synced 2024-11-10 02:31:48 +00:00
Display number of frame images in a trace.
This commit is contained in:
parent
9cd95db4e3
commit
f8a4909c96
@ -8337,6 +8337,7 @@ void View::DrawInfo()
|
||||
TextFocused( "Source locations:", RealToString( m_worker.GetSrcLocCount(), true ) );
|
||||
TextFocused( "Call stacks:", RealToString( m_worker.GetCallstackPayloadCount(), true ) );
|
||||
TextFocused( "Call stack frames:", RealToString( m_worker.GetCallstackFrameCount(), true ) );
|
||||
TextFocused( "Frame images:", RealToString( m_worker.GetFrameImageCount(), true ) );
|
||||
|
||||
const auto fsz = m_worker.GetFullFrameCount( *m_frames );
|
||||
if( fsz != 0 )
|
||||
|
@ -257,6 +257,7 @@ public:
|
||||
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 GetFrameImageCount() const { return m_data.frameImage.size(); }
|
||||
uint64_t GetFrameOffset() const { return m_data.frameOffset; }
|
||||
const FrameData* GetFramesBase() const { return m_data.framesBase; }
|
||||
const Vector<FrameData*>& GetFrames() const { return m_data.frames.Data(); }
|
||||
|
Loading…
Reference in New Issue
Block a user