mirror of
https://github.com/wolfpld/tracy.git
synced 2024-11-27 00:04:35 +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>();
|
for( int j=0; j<s_numBuffers; j++ ) s_ring[j].~RingBuffer<RingBufSize>();
|
||||||
tracy_free_fast( s_ring );
|
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?";
|
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 ) );
|
Profiler::MessageAppInfo( err, strlen( err ) );
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user