mirror of
https://github.com/wolfpld/tracy.git
synced 2024-11-22 22:44:34 +00:00
Display sampling disabled message on debug log channel.
This commit is contained in:
parent
6579399bfd
commit
051b1ba8f5
@ -936,6 +936,7 @@ static void SetupSampling( int64_t& samplingPeriod )
|
||||
for( int j=0; j<s_numBuffers; j++ ) s_ring[j].~RingBuffer<RingBufSize>();
|
||||
tracy_free_fast( s_ring );
|
||||
const char* err = "Tracy Profiler: sampling is disabled due to non-native scheduler clock. Are you running under a VM?";
|
||||
TracyDebug( err );
|
||||
Profiler::MessageAppInfo( err, strlen( err ) );
|
||||
return;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user