Struct Dune::XT::Common::ThreadManager¶
-
struct Dune::XT::Common::ThreadManager¶
abstractions of threading functionality currently controls tbb, falls back to single-thread dummy imp
-
static size_t Dune::XT::Common::ThreadManager::default_max_threads()¶
No documentation provided.
-
size_t Dune::XT::Common::ThreadManager::max_threads()¶
return maximal number of threads possbile in the current run
-
size_t Dune::XT::Common::ThreadManager::current_threads()¶
return number of current threads
-
size_t Dune::XT::Common::ThreadManager::thread()¶
return thread number
-
void Dune::XT::Common::ThreadManager::set_max_threads(const size_t count)¶
set maximal number of threads available during run
-
Dune::XT::Common::ThreadManager::ThreadManager()¶
init tbb with given thread count, prepare Eigen for smp if possible
-
Dune::XT::Common::ThreadManager::~ThreadManager() = default¶
No documentation provided.
-
size_t Dune::XT::Common::ThreadManager::max_threads_¶
No documentation provided.