#include <ThreadsController.h>
|
static std::unique_ptr< oneapi::tbb::global_control > | makeStackSize (size_t iStackSize) |
|
Definition at line 31 of file ThreadsController.h.
◆ ThreadsController() [1/3]
edm::ThreadsController::ThreadsController |
( |
| ) |
|
|
delete |
◆ ThreadsController() [2/3]
edm::ThreadsController::ThreadsController |
( |
unsigned int |
iNThreads | ) |
|
|
inlineexplicit |
Definition at line 34 of file ThreadsController.h.
std::unique_ptr< oneapi::tbb::global_control > m_stackSize
oneapi::tbb::global_control m_nThreads
◆ ThreadsController() [3/3]
edm::ThreadsController::ThreadsController |
( |
unsigned int |
iNThreads, |
|
|
size_t |
iStackSize |
|
) |
| |
|
inline |
Definition at line 36 of file ThreadsController.h.
37 :
m_nThreads{oneapi::tbb::global_control::max_allowed_parallelism, iNThreads},
std::unique_ptr< oneapi::tbb::global_control > m_stackSize
oneapi::tbb::global_control m_nThreads
static std::unique_ptr< oneapi::tbb::global_control > makeStackSize(size_t iStackSize)
◆ makeStackSize()
std::unique_ptr< oneapi::tbb::global_control > ThreadsController::makeStackSize |
( |
size_t |
iStackSize | ) |
|
|
staticprivate |
Definition at line 19 of file ThreadsController.cc.
Referenced by setStackSize().
20 return std::make_unique<oneapi::tbb::global_control>(oneapi::tbb::global_control::thread_stack_size, iStackSize);
◆ setStackSize()
void edm::ThreadsController::setStackSize |
( |
size_t |
iStackSize | ) |
|
|
inline |
Definition at line 41 of file ThreadsController.h.
References m_stackSize, and makeStackSize().
std::unique_ptr< oneapi::tbb::global_control > m_stackSize
static std::unique_ptr< oneapi::tbb::global_control > makeStackSize(size_t iStackSize)
◆ m_nThreads
oneapi::tbb::global_control edm::ThreadsController::m_nThreads |
|
private |
◆ m_stackSize
std::unique_ptr<oneapi::tbb::global_control> edm::ThreadsController::m_stackSize |
|
private |