|
NUMA++ 0.11.0
|
Contains declarations for NumaPolicies. More...
#include <iosfwd>#include <numapp/cpuaffinity.hpp>#include <numapp/mempolicy.hpp>#include <numapp/scheduler.hpp>Go to the source code of this file.
Classes | |
| class | numapp::NumaPolicies |
| Combines the the available NUMA policy types in one object. More... | |
Namespaces | |
| namespace | numapp |
Functions | |
| std::ostream & | numapp::operator<< (std::ostream &os, NumaPolicies const &policies) |
| Formats policies and inserts it to os. | |
Apply Policies to Current Thread | |
Applies specified policies to calling thread. | |
| std::error_code | numapp::thisThread::Apply (NumaPolicies const &policies) noexcept |
| Apply the set policies to current thread. | |
Contains declarations for NumaPolicies.
Definition in file numapolicies.hpp.
|
noexcept |
Apply the set policies to current thread.
If any failure occurs the function will stop applying policies and return error. This means the policies can be partially applied.
| policies | The set of policies to apply. |
Definition at line 14 of file numapolicies.cpp.