NUMA++ 0.11.0
Loading...
Searching...
No Matches
cpuaffinity.cpp File Reference

Definition of CPU affinity classes. More...

#include <numapp/cpuaffinity.hpp>
#include <ostream>
#include <numapp/lowlevel.hpp>
#include <numapp/thread.hpp>

Go to the source code of this file.

Namespaces

namespace  numapp
 

Functions

Apply CPU Affinity to Current Thread

Applies specified policy to calling thread.

std::error_code numapp::thisThread::Apply (CpuAffinity const &affinity) noexcept
 Apply policy to calling thread.
 
Apply CPU Affinity to Specific Thread

Applies specified policy to calling thread.

std::error_code numapp::Apply (pid_t thread, CpuAffinity const &affinity) noexcept
 Apply policy to specified thread.
 

Detailed Description

Definition of CPU affinity classes.

Definition in file cpuaffinity.cpp.