1
0
mirror of https://github.com/wolfpld/tracy.git synced 2025-03-20 07:40:02 +08:00

Add interface for calculation zone running time.

This commit is contained in:
Bartosz Taudul
2019-08-14 17:54:50 +02:00
parent 0b12db5ee6
commit 858c94e12e
2 changed files with 20 additions and 0 deletions
+1
View File
@@ -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 );