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-14 18:54:50 +0300
committerBartosz Taudul <wolf.pld@gmail.com>2019-08-14 19:28:52 +0300
commit858c94e12e79670eb37606e5732f88c12ace7d5a (patch)
tree37d1e070567e6ac62ad851faf39d7641e4e508c5 /server/TracyView.hpp
parent0b12db5ee6bbce3609f8384e6f154a679b713e11 (diff)
Add interface for calculation zone running time.
Diffstat (limited to 'server/TracyView.hpp')
-rw-r--r--server/TracyView.hpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/server/TracyView.hpp b/server/TracyView.hpp
index 619558e5..d89afcde 100644
--- a/server/TracyView.hpp
+++ b/server/TracyView.hpp
@@ -196,6 +196,7 @@ private:
int64_t GetZoneChildTimeFast( const ZoneEvent& zone );
int64_t GetZoneSelfTime( const ZoneEvent& zone );
int64_t GetZoneSelfTime( const GpuEvent& zone );
+ bool GetZoneRunningTime( const ContextSwitch* ctx, const ZoneEvent& ev, int64_t& time, uint64_t& cnt );
void SetPlaybackFrame( uint32_t idx );