|
NUMA++ 0.12.0
|
Definition of numapp::NumaPolicies. More...
Go to the source code of this file.
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. | |
Definition of numapp::NumaPolicies.
SPDX-License-Identifier: LGPL-3.0-only
Definition in file numapolicies.cpp.
|
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 16 of file numapolicies.cpp.
| std::ostream & numapp::operator<< | ( | std::ostream & | os, |
| NumaPolicies const & | policies ) |
Formats policies and inserts it to os.
| os | output stream to insert into. |
| policies | policy to format. |
Definition at line 38 of file numapolicies.cpp.