Geant4 11.2.2
Toolkit for the simulation of the passage of particles through matter
|
#include <ThreadPool.hh>
Public Member Functions | |
Config (bool, bool, bool, int, int, size_type, VUserTaskQueue *, affinity_func_t, initialize_func_t, finalize_func_t) | |
Public Attributes | |
bool | init = true |
bool | use_tbb = f_use_tbb() |
bool | use_affinity = f_use_cpu_affinity() |
int | verbose = f_verbose() |
int | priority = f_thread_priority() |
size_type | pool_size = f_default_pool_size() |
VUserTaskQueue * | task_queue = nullptr |
affinity_func_t | set_affinity = affinity_functor() |
initialize_func_t | initializer = initialization_functor() |
finalize_func_t | finalizer = finalization_functor() |
Definition at line 139 of file ThreadPool.hh.
ThreadPool::Config::Config | ( | bool | _init, |
bool | _use_tbb, | ||
bool | _use_affinity, | ||
int | _verbose, | ||
int | _prio, | ||
size_type | _size, | ||
VUserTaskQueue * | _task_queue, | ||
affinity_func_t | _affinity_func, | ||
initialize_func_t | _init_func, | ||
finalize_func_t | _fini_func ) |
Definition at line 239 of file ThreadPool.cc.
finalize_func_t PTL::ThreadPool::Config::finalizer = finalization_functor() |
Definition at line 155 of file ThreadPool.hh.
bool PTL::ThreadPool::Config::init = true |
Definition at line 146 of file ThreadPool.hh.
Referenced by PTL::ThreadPool::ThreadPool().
initialize_func_t PTL::ThreadPool::Config::initializer = initialization_functor() |
Definition at line 154 of file ThreadPool.hh.
size_type PTL::ThreadPool::Config::pool_size = f_default_pool_size() |
Definition at line 151 of file ThreadPool.hh.
Referenced by PTL::ThreadPool::ThreadPool().
int PTL::ThreadPool::Config::priority = f_thread_priority() |
Definition at line 150 of file ThreadPool.hh.
affinity_func_t PTL::ThreadPool::Config::set_affinity = affinity_functor() |
Definition at line 153 of file ThreadPool.hh.
VUserTaskQueue* PTL::ThreadPool::Config::task_queue = nullptr |
Definition at line 152 of file ThreadPool.hh.
bool PTL::ThreadPool::Config::use_affinity = f_use_cpu_affinity() |
Definition at line 148 of file ThreadPool.hh.
bool PTL::ThreadPool::Config::use_tbb = f_use_tbb() |
Definition at line 147 of file ThreadPool.hh.
int PTL::ThreadPool::Config::verbose = f_verbose() |
Definition at line 149 of file ThreadPool.hh.