![]() |
aGrUM 2.3.2
a C++ library for (probabilistic) graphical models
|
C++17 STL threads convenience utilities for aGrUM. More...
#include <thread>#include <utility>#include <vector>#include <agrum/agrum.h>#include <agrum/base/core/threads/threadsSTL_inl.h>Go to the source code of this file.
Namespaces | |
| namespace | gum |
| gum is the global namespace for all aGrUM entities | |
| namespace | gum::threadsSTL |
Functions | |
| unsigned int | gum::threadsSTL::getMaxNumberOfThreads () |
| Returns the maximum number of threads you should use at any time. | |
| unsigned int | gum::threadsSTL::getNumberOfThreads () |
| returns the max number of threads used by default when entering the next parallel region | |
| unsigned int | gum::threadsSTL::getNumberOfLogicalProcessors () |
| Get the number of logical processors. | |
| void | gum::threadsSTL::setNumberOfThreads (unsigned int number) |
| Set the max number of threads to be used when entering the next parallel region. | |
C++17 STL threads convenience utilities for aGrUM.
Definition in file threadsSTL.h.