mirror of
https://github.com/wolfpld/tracy.git
synced 2024-11-23 06:44:35 +00:00
Add string count getter.
This commit is contained in:
parent
cb6a3f3334
commit
c91ae667d1
@ -297,6 +297,7 @@ public:
|
|||||||
uint64_t GetCallstackPayloadCount() const { return m_data.callstackPayload.size() - 1; }
|
uint64_t GetCallstackPayloadCount() const { return m_data.callstackPayload.size() - 1; }
|
||||||
uint64_t GetCallstackFrameCount() const { return m_data.callstackFrameMap.size(); }
|
uint64_t GetCallstackFrameCount() const { return m_data.callstackFrameMap.size(); }
|
||||||
uint32_t GetFrameImageCount() const { return (uint32_t)m_data.frameImage.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; }
|
uint64_t GetFrameOffset() const { return m_data.frameOffset; }
|
||||||
const FrameData* GetFramesBase() const { return m_data.framesBase; }
|
const FrameData* GetFramesBase() const { return m_data.framesBase; }
|
||||||
const Vector<FrameData*>& GetFrames() const { return m_data.frames.Data(); }
|
const Vector<FrameData*>& GetFrames() const { return m_data.frames.Data(); }
|
||||||
|
Loading…
Reference in New Issue
Block a user