1
0
mirror of https://github.com/wolfpld/tracy.git synced 2025-03-20 07:40:02 +08:00

Name worker threads.

This commit is contained in:
Bartosz Taudul
2023-03-25 22:14:34 +01:00
parent 5eebc5d7cf
commit 33a640f848
4 changed files with 14 additions and 5 deletions
+1 -1
View File
@@ -20,7 +20,7 @@ TimelineController::TimelineController( View& view, Worker& worker )
#ifdef __EMSCRIPTEN__
, m_td( 1 )
#else
, m_td( std::max( 1u, std::thread::hardware_concurrency() - 2 ) )
, m_td( std::max( 1u, std::thread::hardware_concurrency() - 2 ), "Render" )
#endif
{
}