mirror of
https://github.com/wolfpld/tracy
synced 2025-04-29 12:23:53 +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
|
#endif
|
||||||
#ifdef _WIN32
|
#ifdef _WIN32
|
||||||
flags |= WelcomeFlag::CombineSamples;
|
flags |= WelcomeFlag::CombineSamples;
|
||||||
|
# ifndef TRACY_NO_CONTEXT_SWITCH
|
||||||
flags |= WelcomeFlag::IdentifySamples;
|
flags |= WelcomeFlag::IdentifySamples;
|
||||||
|
# endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if defined __i386 || defined _M_IX86
|
#if defined __i386 || defined _M_IX86
|
||||||
|
Loading…
x
Reference in New Issue
Block a user