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

Send sampling period in welcome message.

This commit is contained in:
Bartosz Taudul
2020-02-25 23:12:31 +01:00
parent 2b7f5091f1
commit c5b2d14f8c
2 changed files with 2 additions and 0 deletions
+1
View File
@@ -1196,6 +1196,7 @@ void Profiler::Worker()
MemWrite( &welcome.resolution, m_resolution );
MemWrite( &welcome.epoch, m_epoch );
MemWrite( &welcome.pid, pid );
MemWrite( &welcome.samplingPeriod, m_samplingPeriod );
MemWrite( &welcome.onDemand, onDemand );
MemWrite( &welcome.isApple, isApple );
memcpy( welcome.programName, procname, pnsz );