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-13 01:20:56 +0300
committerBartosz Taudul <wolf.pld@gmail.com>2019-08-13 03:35:32 +0300
commit0b03fed61c372726aeda3855969121d487c23e53 (patch)
tree08fba36640a098185f7235da1c568d81c75a4de2 /server/TracyWorker.hpp
parent419f74280d10e05a6bd499bbafa7ec3ef4b51f6f (diff)
Add context switch 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 c4ef69ce..2dd942ce 100644
--- a/server/TracyWorker.hpp
+++ b/server/TracyWorker.hpp
@@ -274,6 +274,7 @@ public:
uint64_t GetFrameOffset() const { return m_data.frameOffset; }
const FrameData* GetFramesBase() const { return m_data.framesBase; }
const Vector<FrameData*>& GetFrames() const { return m_data.frames.Data(); }
+ const ContextSwitch* const GetContextSwitchData( uint64_t thread ) const;
int64_t GetFrameTime( const FrameData& fd, size_t idx ) const;
int64_t GetFrameBegin( const FrameData& fd, size_t idx ) const;