diff --git a/client/TracyProfiler.cpp b/client/TracyProfiler.cpp index 96a9f348..5435f583 100644 --- a/client/TracyProfiler.cpp +++ b/client/TracyProfiler.cpp @@ -1332,6 +1332,7 @@ void Profiler::Worker() MemWrite( &welcome.delay, m_delay ); MemWrite( &welcome.resolution, m_resolution ); MemWrite( &welcome.epoch, m_epoch ); + MemWrite( &welcome.exectime, m_exectime ); MemWrite( &welcome.pid, pid ); MemWrite( &welcome.samplingPeriod, m_samplingPeriod ); MemWrite( &welcome.onDemand, onDemand ); diff --git a/common/TracyProtocol.hpp b/common/TracyProtocol.hpp index f267edca..f36aeeed 100644 --- a/common/TracyProtocol.hpp +++ b/common/TracyProtocol.hpp @@ -9,7 +9,7 @@ namespace tracy constexpr unsigned Lz4CompressBound( unsigned isize ) { return isize + ( isize / 255 ) + 16; } -enum : uint32_t { ProtocolVersion = 44 }; +enum : uint32_t { ProtocolVersion = 45 }; enum : uint16_t { BroadcastVersion = 2 }; using lz4sz_t = uint32_t; @@ -82,6 +82,7 @@ struct WelcomeMessage uint64_t delay; uint64_t resolution; uint64_t epoch; + uint64_t exectime; uint64_t pid; int64_t samplingPeriod; uint8_t onDemand;