NUMA++ CPU affinity APIs.
More...
|
Applies specified policy to calling thread.
|
| std::error_code | numapp::Apply (pid_t thread, CpuAffinity const &affinity) noexcept |
| | Apply policy to specified thread.
|
| |
| std::error_code | Apply (pid_t thread, CpuAffinity const &affinity) noexcept |
| | Apply policy to specified thread.
|
| |
NUMA++ CPU affinity APIs.
Use header file #include <numapp/cpuaffinity.hpp>
See CPU Affinity API for an overview.
◆ Apply() [1/4]
| std::error_code Apply |
( |
pid_t | thread, |
|
|
CpuAffinity const & | affinity ) |
|
nodiscardnoexcept |
Apply policy to specified thread.
- Parameters
-
| thread | Thread id. |
| affinity | The CPU affinity to apply. |
Definition at line 22 of file cpuaffinity.cpp.
◆ Apply() [2/4]
Apply policy to calling thread.
- Parameters
-
| affinity | The CPU affinity to apply. |
Definition at line 17 of file cpuaffinity.cpp.
◆ Apply() [3/4]
| std::error_code Apply |
( |
pid_t | thread, |
|
|
CpuAffinity const & | affinity ) |
|
related |
Apply policy to specified thread.
- Parameters
-
| thread | Thread id. |
| affinity | The CPU affinity to apply. |
Definition at line 22 of file cpuaffinity.cpp.
◆ Apply() [4/4]
| std::error_code numapp::thisThread::Apply |
( |
CpuAffinity const & | affinity | ) |
|
|
nodiscardnoexcept |
Apply policy to calling thread.
- Parameters
-
| affinity | The CPU affinity to apply. |
Definition at line 17 of file cpuaffinity.cpp.