1
0
mirror of https://github.com/wolfpld/tracy.git synced 2025-03-20 07:40:02 +08:00

Proper way to get full frame count.

This commit is contained in:
Bartosz Taudul
2018-09-01 12:38:12 +02:00
parent faea036c16
commit 9f4d6692dc
3 changed files with 32 additions and 1 deletions
+1
View File
@@ -185,6 +185,7 @@ public:
TracyMutex& GetDataLock() { return m_data.lock; }
size_t GetFrameCount( const FrameData& fd ) const { return fd.frames.size(); }
size_t GetFullFrameCount( const FrameData& fd ) const;
int64_t GetTimeBegin() const { return GetFrameBegin( *m_data.framesBase, 0 ); }
int64_t GetLastTime() const { return m_data.lastTime; }
uint64_t GetZoneCount() const { return m_data.zonesCnt; }