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

Make getting start of time less cryptic.

This commit is contained in:
Bartosz Taudul
2018-08-04 19:51:50 +02:00
parent 23dfc2e3fc
commit 5e9b2e36be
2 changed files with 17 additions and 16 deletions
+1
View File
@@ -179,6 +179,7 @@ public:
TracyMutex& GetDataLock() { return m_data.lock; }
size_t GetFrameCount( const FrameData& fd ) const { return fd.frames.size(); }
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; }
uint64_t GetFrameOffset() const { return m_data.frameOffset; }