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

Last time is now cached, not calculated.

This commit is contained in:
Bartosz Taudul
2017-12-09 20:05:34 +01:00
parent 86006e8416
commit 6942f84a99
2 changed files with 19 additions and 31 deletions
+1 -1
View File
@@ -121,7 +121,6 @@ private:
int64_t GetFrameTime( size_t idx ) const;
int64_t GetFrameBegin( size_t idx ) const;
int64_t GetFrameEnd( size_t idx ) const;
int64_t GetLastTime() const;
int64_t GetZoneEnd( const ZoneEvent& ev ) const;
int64_t GetZoneEnd( const GpuEvent& ev ) const;
const char* GetString( uint64_t ptr ) const;
@@ -235,6 +234,7 @@ private:
int64_t m_zvStart;
int64_t m_zvEnd;
int64_t m_lastTime;
int64_t m_delay;
int64_t m_resolution;