Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/wolfpld/tracy.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBartosz Taudul <wolf.pld@gmail.com>2019-08-16 17:30:00 +0300
committerBartosz Taudul <wolf.pld@gmail.com>2019-08-16 17:51:18 +0300
commita92034d59deae290a39b86f15fc7c4c8cde3ee06 (patch)
tree401b81264414d111c8ce83cad9dc560261267084 /server/TracyWorker.hpp
parent69527d2f71d0b4f991287a91e0ee3aaa87c70b55 (diff)
CPU data accessor.
Diffstat (limited to 'server/TracyWorker.hpp')
-rw-r--r--server/TracyWorker.hpp1
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;