From 332262dd8463114425ea9720a66deb30ce2470d8 Mon Sep 17 00:00:00 2001 From: Bartosz Taudul Date: Tue, 20 Aug 2019 16:22:54 +0200 Subject: [PATCH] Shorter thread names. --- client/TracyProfiler.cpp | 2 +- client/TracySysTrace.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/client/TracyProfiler.cpp b/client/TracyProfiler.cpp index 76e509ac..c3db9a47 100644 --- a/client/TracyProfiler.cpp +++ b/client/TracyProfiler.cpp @@ -1500,7 +1500,7 @@ void Profiler::Worker() 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 ) ); rpmalloc_thread_initialize(); for(;;) diff --git a/client/TracySysTrace.cpp b/client/TracySysTrace.cpp index 429378b8..6446ce7d 100644 --- a/client/TracySysTrace.cpp +++ b/client/TracySysTrace.cpp @@ -169,7 +169,7 @@ void SysTraceStop() void SysTraceWorker( void* ptr ) { - SetThreadName( "Tracy Profiler system trace" ); + SetThreadName( "Tracy SysTrace" ); ProcessTrace( &s_traceHandle2, 1, 0, 0 ); ControlTrace( 0, KERNEL_LOGGER_NAME, s_prop, EVENT_TRACE_CONTROL_STOP ); tracy_free( s_prop );