![]() |
aGrUM 3.0.0
a C++ library for (probabilistic) graphical models
|
Classes | |
| struct | ThreadExecutor |
Functions | |
| unsigned int | getNumberOfThreads () |
| returns the max number of threads used by default when entering the next parallel region | |
| void | setNumberOfThreads (unsigned int number) |
| Set the max number of threads to be used when entering the next parallel region. | |
| unsigned int | getMaxNumberOfThreads () |
| Returns the maximum number of threads you should use at any time. | |
| unsigned int | getNumberOfLogicalProcessors () |
| Get the number of logical processors. | |
| unsigned int gum::threadsSTL::getNumberOfThreads | ( | ) |
returns the max number of threads used by default when entering the next parallel region
This is the number of threads launched in parallel regions. By default, this number is equal to getMaxNumberOfThreads() but if the user has changed it using method setNumberOfThreads, then this number is what the user required.
Definition at line 70 of file threadsSTL.cpp.