mirror of
https://github.com/wolfpld/tracy.git
synced 2026-09-18 00:04:22 +00:00
Add a TRACY_ON_DEMAND build option.
This commit is contained in:
@@ -397,6 +397,9 @@ static void PrintStartupReport( bool kernelFrames, bool hwStats, int hwErrno )
|
||||
{
|
||||
printf( " vsync: no (%s)\n", TracepointReason( vsync ) );
|
||||
}
|
||||
#ifdef TRACY_ON_DEMAND
|
||||
printf( " recording: on-demand: samples are captured only while a Tracy server is connected; pre-connection samples are discarded\n" );
|
||||
#endif
|
||||
printf( "\n" );
|
||||
printf( "Open the Tracy profiler and connect to this host:port (or it will auto-discover).\n" );
|
||||
fflush( stdout );
|
||||
|
||||
Reference in New Issue
Block a user