mirror of
https://github.com/wolfpld/tracy.git
synced 2024-11-10 02:31:48 +00:00
Display count of symbols.
This commit is contained in:
parent
a35795f793
commit
75312c7bb6
@ -11628,6 +11628,7 @@ void View::DrawInfo()
|
||||
TextFocused( "Memory allocations:", RealToString( m_worker.GetMemData().data.size() ) );
|
||||
TextFocused( "Source locations:", RealToString( m_worker.GetSrcLocCount() ) );
|
||||
TextFocused( "Strings:", RealToString( m_worker.GetStringsCount() ) );
|
||||
TextFocused( "Symbols:", RealToString( m_worker.GetSymbolsCount() ) );
|
||||
TextFocused( "Call stacks:", RealToString( m_worker.GetCallstackPayloadCount() ) );
|
||||
TextFocused( "Call stack frames:", RealToString( m_worker.GetCallstackFrameCount() ) );
|
||||
TextFocused( "Call stack samples:", RealToString( m_worker.GetCallstackSampleCount() ) );
|
||||
|
@ -347,6 +347,7 @@ public:
|
||||
uint64_t GetCallstackPayloadCount() const { return m_data.callstackPayload.size() - 1; }
|
||||
uint64_t GetCallstackFrameCount() const { return m_data.callstackFrameMap.size(); }
|
||||
uint64_t GetCallstackSampleCount() const { return m_data.samplesCnt; }
|
||||
uint64_t GetSymbolsCount() const { return m_data.symbolMap.size(); }
|
||||
uint32_t GetFrameImageCount() const { return (uint32_t)m_data.frameImage.size(); }
|
||||
uint64_t GetStringsCount() const { return m_data.strings.size() + m_data.stringData.size(); }
|
||||
uint64_t GetFrameOffset() const { return m_data.frameOffset; }
|
||||
|
Loading…
Reference in New Issue
Block a user