Go to the documentation of this file.
18 #ifndef COIL_AFFINITY_H
19 #define COIL_AFFINITY_H
30 typedef std::vector<unsigned int>
CpuMask;
122 #endif // COIL_AFFINITY_H
std::vector< unsigned int > CpuMask
Definition: Affinity.h:30
bool setThreadCpuAffinity(const CpuMask cpu_mask)
Setting process CPU affinity @prop cpu_mask CPU affinity mask to be set is given with CPU ID in std::...
bool setProcCpuAffinity(const CpuMask cpu_mask)
Setting process CPU affinity @prop cpu_mask CPU affinity mask to be set is given with CPU ID in std::...
bool getThreadCpuAffinity(CpuMask &cpu_mask)
Getting current process CPU affinity @prop cpu_mask Current CPU affinity mask is returned as CPU ID i...
bool getProcCpuAffinity(CpuMask &cpu_mask)
Getting current process CPU affinity @prop cpu_mask Current CPU affinity mask is returned as CPU ID i...
Singleton template class.
Common Object Interface Layer.
Definition: Affinity.h:28