Vulkan Schnee 0.0.1
High-performance rendering engine
Loading...
Searching...
No Matches
NamedThreadPool Class Reference

Tracy-named thread pool using BS_tracy::tracy_thread_pool. More...

#include <NamedThreadPool.h>

Inheritance diagram for NamedThreadPool:
Collaboration diagram for NamedThreadPool:

Public Member Functions

 NamedThreadPool (uint32_t threadCount=1, const std::string &prefix="Worker")
 Constructs a named thread pool with specified thread count and naming prefix.

Detailed Description

Tracy-named thread pool using BS_tracy::tracy_thread_pool.

Uses BS_tracy::tracy_thread_pool which has built-in Tracy thread naming. Threads are visible in Tracy as "<prefix> 1" through "<prefix> N". Thread naming is handled deterministically at thread creation time.

Date
October 15, 2025
Author
Konstantin Passig

Definition at line 17 of file NamedThreadPool.h.

Constructor & Destructor Documentation

◆ NamedThreadPool()

NamedThreadPool::NamedThreadPool ( uint32_t threadCount = 1,
const std::string & prefix = "Worker" )
inlineexplicit

Constructs a named thread pool with specified thread count and naming prefix.

Parameters
threadCountNumber of worker threads to create
prefixPrefix for thread names (will be suffixed with " 1", " 2", etc.)

Definition at line 25 of file NamedThreadPool.h.


The documentation for this class was generated from the following file:
  • /home/magerbeton/Documents/gl3-vulkan/Engine/include/Engine/Renderer/NamedThreadPool.h