Store sampling period on server.

This commit is contained in:
Bartosz Taudul 2020-02-25 23:13:28 +01:00
parent c5b2d14f8c
commit ca894be51d
2 changed files with 2 additions and 0 deletions

View File

@ -2359,6 +2359,7 @@ void Worker::Exec()
m_delay = TscTime( welcome.delay );
m_resolution = TscTime( welcome.resolution );
m_pid = welcome.pid;
m_samplingPeriod = welcome.samplingPeriod;
m_onDemand = welcome.onDemand;
m_captureProgram = welcome.programName;
m_captureTime = welcome.epoch;

View File

@ -673,6 +673,7 @@ private:
uint64_t m_captureTime;
std::string m_hostInfo;
uint64_t m_pid;
int64_t m_samplingPeriod;
bool m_terminate = false;
bool m_crashed = false;
bool m_disconnect = false;