1
0
mirror of https://github.com/wolfpld/tracy synced 2025-05-01 05:03:53 +00:00

CPU data accessor.

This commit is contained in:
Bartosz Taudul 2019-08-16 16:30:00 +02:00
parent 69527d2f71
commit a92034d59d

View File

@ -294,6 +294,7 @@ public:
if( m_data.ctxSwitchLast.first == thread ) return m_data.ctxSwitchLast.second; if( m_data.ctxSwitchLast.first == thread ) return m_data.ctxSwitchLast.second;
return GetContextSwitchDataImpl( thread ); return GetContextSwitchDataImpl( thread );
} }
const CpuData* GetCpuData() const { return m_data.cpuData; }
int64_t GetFrameTime( const FrameData& fd, size_t idx ) const; int64_t GetFrameTime( const FrameData& fd, size_t idx ) const;
int64_t GetFrameBegin( const FrameData& fd, size_t idx ) const; int64_t GetFrameBegin( const FrameData& fd, size_t idx ) const;