mirror of
https://github.com/wolfpld/tracy.git
synced 2024-11-10 02:31:48 +00:00
Use short ptr for FrameImage storage.
This commit is contained in:
parent
72efbe28ed
commit
b0e52f20f8
@ -203,7 +203,7 @@ private:
|
|||||||
|
|
||||||
Vector<Vector<short_ptr<ZoneEvent>>> zoneVectorCache;
|
Vector<Vector<short_ptr<ZoneEvent>>> zoneVectorCache;
|
||||||
|
|
||||||
Vector<FrameImage*> frameImage;
|
Vector<short_ptr<FrameImage>> frameImage;
|
||||||
Vector<StringRef> appInfo;
|
Vector<StringRef> appInfo;
|
||||||
|
|
||||||
CrashEvent crashEvent;
|
CrashEvent crashEvent;
|
||||||
@ -332,7 +332,7 @@ public:
|
|||||||
const Vector<ThreadData*>& GetThreadData() const { return m_data.threads; }
|
const Vector<ThreadData*>& GetThreadData() const { return m_data.threads; }
|
||||||
const ThreadData* GetThreadData( uint64_t tid ) const;
|
const ThreadData* GetThreadData( uint64_t tid ) const;
|
||||||
const MemData& GetMemData() const { return m_data.memory; }
|
const MemData& GetMemData() const { return m_data.memory; }
|
||||||
const Vector<FrameImage*>& GetFrameImages() const { return m_data.frameImage; }
|
const Vector<short_ptr<FrameImage>>& GetFrameImages() const { return m_data.frameImage; }
|
||||||
const Vector<StringRef>& GetAppInfo() const { return m_data.appInfo; }
|
const Vector<StringRef>& GetAppInfo() const { return m_data.appInfo; }
|
||||||
|
|
||||||
const VarArray<CallstackFrameId>& GetCallstack( uint32_t idx ) const { return *m_data.callstackPayload[idx]; }
|
const VarArray<CallstackFrameId>& GetCallstack( uint32_t idx ) const { return *m_data.callstackPayload[idx]; }
|
||||||
|
Loading…
Reference in New Issue
Block a user