From 761d50e8f5ad0eb13993583d5dcbe29acc5f07a7 Mon Sep 17 00:00:00 2001 From: Marcos Slomp Date: Tue, 5 May 2026 07:49:15 -0700 Subject: [PATCH] debug cleanup --- public/client/apple/TracyMach.cpp | 14 +++++--------- 1 file changed, 5 insertions(+), 9 deletions(-) diff --git a/public/client/apple/TracyMach.cpp b/public/client/apple/TracyMach.cpp index ce342718..01149fc5 100644 --- a/public/client/apple/TracyMach.cpp +++ b/public/client/apple/TracyMach.cpp @@ -1,4 +1,8 @@ -// Included by TracySysTrace.cpp +// (this file gets included by TracySysTrace.cpp) + +#ifndef __APPLE__ +#error this file can only be compiled for Apple targets +#endif #include #include @@ -14,8 +18,6 @@ #include "../TracyStringHelpers.hpp" #include "../TracyThread.hpp" -#include "../../tracy/Tracy.hpp" - namespace tracy { @@ -101,7 +103,6 @@ static void SysTraceSampleThread( mach_port_t tid ) static void SysTraceWait( uint64_t deadline ) { - ZoneScopedC(tracy::Color::DimGray); mach_wait_until( deadline ); } @@ -134,8 +135,6 @@ static void SysTraceWatch( mach_port_t selfThread ) SysTraceWait(deadline); deadline = mach_absolute_time() + periodMach; - ZoneScoped; - #ifdef TRACY_ON_DEMAND if( !GetProfiler().IsConnected() ) continue; #endif @@ -179,9 +178,6 @@ static void SysTraceWatch( mach_port_t selfThread ) mach_port_deallocate( mach_task_self(), threads[i] ); vm_deallocate( mach_task_self(), (vm_address_t)threads, sizeof(thread_t) * threadCount ); } - - ZoneScopedNC("OUT", tracy::Color::Crimson); - std::this_thread::sleep_for( std::chrono::milliseconds(100) ); } void SysTraceWorker( void* )