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
@@ -1287,7 +1287,7 @@ Worker::Worker( FileRead& f, EventType::Type eventMask, bool bgTasks )
// Minimum 2 threads to have at least two buffers (one in use, second one filling up)
const auto jobs = std::max<int>( std::thread::hardware_concurrency() - 2, 2 );
#endif
auto td = std::make_unique<TaskDispatch>( jobs );
auto td = std::make_unique<TaskDispatch>( jobs, "FrImg Zstd" );
auto data = std::make_unique<JobData[]>( jobs );
for( uint64_t i=0; i<sz; i++ )