diff options
author | Bartosz Taudul <wolf.pld@gmail.com> | 2019-08-16 17:30:00 +0300 |
---|---|---|
committer | Bartosz Taudul <wolf.pld@gmail.com> | 2019-08-16 17:51:18 +0300 |
commit | a92034d59deae290a39b86f15fc7c4c8cde3ee06 (patch) | |
tree | 401b81264414d111c8ce83cad9dc560261267084 /server | |
parent | 69527d2f71d0b4f991287a91e0ee3aaa87c70b55 (diff) |
CPU data accessor.
Diffstat (limited to 'server')
-rw-r--r-- | server/TracyWorker.hpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/server/TracyWorker.hpp b/server/TracyWorker.hpp index a0d320a6..1b6c46f3 100644 --- a/server/TracyWorker.hpp +++ b/server/TracyWorker.hpp @@ -294,6 +294,7 @@ public: if( m_data.ctxSwitchLast.first == thread ) return m_data.ctxSwitchLast.second; return GetContextSwitchDataImpl( thread ); } + const CpuData* GetCpuData() const { return m_data.cpuData; } int64_t GetFrameTime( const FrameData& fd, size_t idx ) const; int64_t GetFrameBegin( const FrameData& fd, size_t idx ) const; |