mirror of
https://github.com/wolfpld/tracy.git
synced 2024-11-26 16:04:34 +00:00
Don't identify samples if there will be no context switches.
This commit is contained in:
parent
0c809b14d5
commit
22284d57e7
@ -1540,7 +1540,9 @@ void Profiler::Worker()
|
||||
#endif
|
||||
#ifdef _WIN32
|
||||
flags |= WelcomeFlag::CombineSamples;
|
||||
# ifndef TRACY_NO_CONTEXT_SWITCH
|
||||
flags |= WelcomeFlag::IdentifySamples;
|
||||
# endif
|
||||
#endif
|
||||
|
||||
#if defined __i386 || defined _M_IX86
|
||||
|
Loading…
Reference in New Issue
Block a user