Decrease sampling worker sleep time from 10 to 1 ms.

This commit is contained in:
Bartosz Taudul 2022-06-16 14:24:35 +02:00
parent d99024dd02
commit 5437185858
No known key found for this signature in database
GPG Key ID: B7FE2008B7575DF3

View File

@ -1451,7 +1451,7 @@ void SysTraceWorker( void* ptr )
if( !traceActive.load( std::memory_order_relaxed ) ) break;
if( !hadData )
{
std::this_thread::sleep_for( std::chrono::milliseconds( 10 ) );
std::this_thread::sleep_for( std::chrono::milliseconds( 1 ) );
}
}