mirror of
https://github.com/wolfpld/tracy.git
synced 2024-11-26 16:04:34 +00:00
Set combine samples flag on win32.
This commit is contained in:
parent
06dcdd342f
commit
697ec4372e
@ -1355,6 +1355,9 @@ void Profiler::Worker()
|
|||||||
#ifndef TRACY_NO_CODE_TRANSFER
|
#ifndef TRACY_NO_CODE_TRANSFER
|
||||||
flags |= WelcomeFlag::CodeTransfer;
|
flags |= WelcomeFlag::CodeTransfer;
|
||||||
#endif
|
#endif
|
||||||
|
#ifdef _WIN32
|
||||||
|
flags |= WelcomeFlag::CombineSamples;
|
||||||
|
#endif
|
||||||
|
|
||||||
#if defined __i386 || defined _M_IX86
|
#if defined __i386 || defined _M_IX86
|
||||||
uint8_t cpuArch = CpuArchX86;
|
uint8_t cpuArch = CpuArchX86;
|
||||||
|
@ -84,6 +84,7 @@ struct WelcomeFlag
|
|||||||
OnDemand = 1 << 0,
|
OnDemand = 1 << 0,
|
||||||
IsApple = 1 << 1,
|
IsApple = 1 << 1,
|
||||||
CodeTransfer = 1 << 2,
|
CodeTransfer = 1 << 2,
|
||||||
|
CombineSamples = 1 << 3,
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user