mirror of
https://github.com/wolfpld/tracy.git
synced 2024-11-27 00:04:35 +00:00
Shorter thread names.
This commit is contained in:
parent
247acd03ee
commit
332262dd84
@ -1500,7 +1500,7 @@ void Profiler::Worker()
|
|||||||
|
|
||||||
void Profiler::CompressWorker()
|
void Profiler::CompressWorker()
|
||||||
{
|
{
|
||||||
SetThreadName( "Tracy Profiler DXT1" );
|
SetThreadName( "Tracy DXT1" );
|
||||||
while( m_timeBegin.load( std::memory_order_relaxed ) == 0 ) std::this_thread::sleep_for( std::chrono::milliseconds( 10 ) );
|
while( m_timeBegin.load( std::memory_order_relaxed ) == 0 ) std::this_thread::sleep_for( std::chrono::milliseconds( 10 ) );
|
||||||
rpmalloc_thread_initialize();
|
rpmalloc_thread_initialize();
|
||||||
for(;;)
|
for(;;)
|
||||||
|
@ -169,7 +169,7 @@ void SysTraceStop()
|
|||||||
|
|
||||||
void SysTraceWorker( void* ptr )
|
void SysTraceWorker( void* ptr )
|
||||||
{
|
{
|
||||||
SetThreadName( "Tracy Profiler system trace" );
|
SetThreadName( "Tracy SysTrace" );
|
||||||
ProcessTrace( &s_traceHandle2, 1, 0, 0 );
|
ProcessTrace( &s_traceHandle2, 1, 0, 0 );
|
||||||
ControlTrace( 0, KERNEL_LOGGER_NAME, s_prop, EVENT_TRACE_CONTROL_STOP );
|
ControlTrace( 0, KERNEL_LOGGER_NAME, s_prop, EVENT_TRACE_CONTROL_STOP );
|
||||||
tracy_free( s_prop );
|
tracy_free( s_prop );
|
||||||
|
Loading…
Reference in New Issue
Block a user