mirror of
https://github.com/wolfpld/tracy.git
synced 2024-11-10 02:31:48 +00:00
Display number of callstack samples.
This commit is contained in:
parent
437771ea85
commit
ca39c9877e
@ -11388,6 +11388,7 @@ void View::DrawInfo()
|
||||
TextFocused( "Strings:", RealToString( m_worker.GetStringsCount() ) );
|
||||
TextFocused( "Call stacks:", RealToString( m_worker.GetCallstackPayloadCount() ) );
|
||||
TextFocused( "Call stack frames:", RealToString( m_worker.GetCallstackFrameCount() ) );
|
||||
TextFocused( "Call stack samples:", RealToString( m_worker.GetCallstackSampleCount() ) );
|
||||
TextFocused( "Frame images:", RealToString( ficnt ) );
|
||||
TextFocused( "Context switch regions:", RealToString( m_worker.GetContextSwitchCount() ) );
|
||||
if( ImGui::IsItemHovered() )
|
||||
|
@ -344,6 +344,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 GetCallstackSampleCount() const { return m_data.samplesCnt; }
|
||||
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