mirror of
https://github.com/wolfpld/tracy
synced 2025-05-01 05:03:53 +00:00
CPU data accessor.
This commit is contained in:
parent
69527d2f71
commit
a92034d59d
@ -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;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user