mirror of
https://github.com/wolfpld/tracy.git
synced 2024-11-10 10:41:50 +00:00
Send executable mtime in welcome message.
This commit is contained in:
parent
0ce113a96c
commit
c92974d920
@ -1332,6 +1332,7 @@ void Profiler::Worker()
|
|||||||
MemWrite( &welcome.delay, m_delay );
|
MemWrite( &welcome.delay, m_delay );
|
||||||
MemWrite( &welcome.resolution, m_resolution );
|
MemWrite( &welcome.resolution, m_resolution );
|
||||||
MemWrite( &welcome.epoch, m_epoch );
|
MemWrite( &welcome.epoch, m_epoch );
|
||||||
|
MemWrite( &welcome.exectime, m_exectime );
|
||||||
MemWrite( &welcome.pid, pid );
|
MemWrite( &welcome.pid, pid );
|
||||||
MemWrite( &welcome.samplingPeriod, m_samplingPeriod );
|
MemWrite( &welcome.samplingPeriod, m_samplingPeriod );
|
||||||
MemWrite( &welcome.onDemand, onDemand );
|
MemWrite( &welcome.onDemand, onDemand );
|
||||||
|
@ -9,7 +9,7 @@ namespace tracy
|
|||||||
|
|
||||||
constexpr unsigned Lz4CompressBound( unsigned isize ) { return isize + ( isize / 255 ) + 16; }
|
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 };
|
enum : uint16_t { BroadcastVersion = 2 };
|
||||||
|
|
||||||
using lz4sz_t = uint32_t;
|
using lz4sz_t = uint32_t;
|
||||||
@ -82,6 +82,7 @@ struct WelcomeMessage
|
|||||||
uint64_t delay;
|
uint64_t delay;
|
||||||
uint64_t resolution;
|
uint64_t resolution;
|
||||||
uint64_t epoch;
|
uint64_t epoch;
|
||||||
|
uint64_t exectime;
|
||||||
uint64_t pid;
|
uint64_t pid;
|
||||||
int64_t samplingPeriod;
|
int64_t samplingPeriod;
|
||||||
uint8_t onDemand;
|
uint8_t onDemand;
|
||||||
|
Loading…
Reference in New Issue
Block a user