diff --git a/server/TracyEvent.hpp b/server/TracyEvent.hpp index ed861da1..c6f37de1 100644 --- a/server/TracyEvent.hpp +++ b/server/TracyEvent.hpp @@ -180,6 +180,8 @@ struct ZoneEvent tracy_force_inline void SetChild( int32_t child ) { memcpy( &_child2, &child, 4 ); } tracy_force_inline bool HasChildren() const { uint8_t tmp; memcpy( &tmp, ((char*)&_end_child1)+1, 1 ); return ( tmp >> 7 ) == 0; } + tracy_force_inline void SetStartSrcLoc( int64_t start, int16_t srcloc ) { assert( start < (int64_t)( 1ull << 47 ) ); start <<= 16; start |= uint16_t( srcloc ); memcpy( &_start_srcloc, &start, 8 ); } + uint64_t _start_srcloc; uint16_t _child2; uint64_t _end_child1;