Set combine samples flag on win32.

This commit is contained in:
Bartosz Taudul 2021-06-15 01:32:18 +02:00
parent 06dcdd342f
commit 697ec4372e
No known key found for this signature in database
GPG Key ID: B7FE2008B7575DF3
2 changed files with 4 additions and 0 deletions

View File

@ -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;

View File

@ -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,
}; };
}; };