mirror of
https://github.com/wolfpld/tracy.git
synced 2024-11-27 00:04:35 +00:00
Read combine samples flag on server.
This commit is contained in:
parent
697ec4372e
commit
891e1ac280
@ -2843,6 +2843,7 @@ void Worker::Exec()
|
|||||||
m_ignoreMemFreeFaults = ( welcome.flags & WelcomeFlag::OnDemand ) || ( welcome.flags & WelcomeFlag::IsApple );
|
m_ignoreMemFreeFaults = ( welcome.flags & WelcomeFlag::OnDemand ) || ( welcome.flags & WelcomeFlag::IsApple );
|
||||||
m_data.cpuArch = (CpuArchitecture)welcome.cpuArch;
|
m_data.cpuArch = (CpuArchitecture)welcome.cpuArch;
|
||||||
m_codeTransfer = welcome.flags & WelcomeFlag::CodeTransfer;
|
m_codeTransfer = welcome.flags & WelcomeFlag::CodeTransfer;
|
||||||
|
m_combineSamples = welcome.flags & WelcomeFlag::CombineSamples;
|
||||||
m_data.cpuId = welcome.cpuId;
|
m_data.cpuId = welcome.cpuId;
|
||||||
memcpy( m_data.cpuManufacturer, welcome.cpuManufacturer, 12 );
|
memcpy( m_data.cpuManufacturer, welcome.cpuManufacturer, 12 );
|
||||||
m_data.cpuManufacturer[12] = '\0';
|
m_data.cpuManufacturer[12] = '\0';
|
||||||
|
@ -884,6 +884,7 @@ private:
|
|||||||
bool m_onDemand;
|
bool m_onDemand;
|
||||||
bool m_ignoreMemFreeFaults;
|
bool m_ignoreMemFreeFaults;
|
||||||
bool m_codeTransfer;
|
bool m_codeTransfer;
|
||||||
|
bool m_combineSamples;
|
||||||
|
|
||||||
short_ptr<GpuCtxData> m_gpuCtxMap[256];
|
short_ptr<GpuCtxData> m_gpuCtxMap[256];
|
||||||
uint32_t m_pendingCallstackId = 0;
|
uint32_t m_pendingCallstackId = 0;
|
||||||
|
Loading…
Reference in New Issue
Block a user