mirror of
https://github.com/wolfpld/tracy.git
synced 2024-11-14 04:01:48 +00:00
Decrease sampling worker sleep time from 10 to 1 ms.
This commit is contained in:
parent
d99024dd02
commit
5437185858
@ -1451,7 +1451,7 @@ void SysTraceWorker( void* ptr )
|
|||||||
if( !traceActive.load( std::memory_order_relaxed ) ) break;
|
if( !traceActive.load( std::memory_order_relaxed ) ) break;
|
||||||
if( !hadData )
|
if( !hadData )
|
||||||
{
|
{
|
||||||
std::this_thread::sleep_for( std::chrono::milliseconds( 10 ) );
|
std::this_thread::sleep_for( std::chrono::milliseconds( 1 ) );
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user