Add red color to Tracy profiler zones that cause CPU waiting to improve profiling
This commit is contained in:
@@ -385,6 +385,7 @@ void JobSystem::Wait(int64 label)
|
||||
{
|
||||
#if JOB_SYSTEM_ENABLED
|
||||
PROFILE_CPU();
|
||||
ZoneColor(TracyWaitZoneColor);
|
||||
|
||||
while (Platform::AtomicRead(&ExitFlag) == 0)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user