OpenRTM-aist  1.2.1
Namespaces | Typedefs | Functions
Affinity.h File Reference

Processor affinity operation class. More...

#include <string>
#include <vector>
#include <coil/Singleton.h>
#include <coil/TimeValue.h>
#include <coil/Mutex.h>
#include <coil/Guard.h>
Include dependency graph for Affinity.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 coil
 Common Object Interface Layer.
 

Typedefs

typedef std::vector< unsigned int > coil::CpuMask
 

Functions

bool coil::getProcCpuAffinity (CpuMask &cpu_mask)
 Getting current process CPU affinity cpu_mask Current CPU affinity mask is returned as CPU ID in std::vector<unsigned int>. More...
 
bool coil::setProcCpuAffinity (const CpuMask cpu_mask)
 Setting process CPU affinity cpu_mask CPU affinity mask to be set is given with CPU ID in std::vector<unsigned int> list. More...
 
bool coil::setProcCpuAffinity (std::string cpu_mask)
 Setting process CPU affinity with string cpu_mask CPU affinity mask to be set is given with comma separated CPU ID string. More...
 
bool coil::getThreadCpuAffinity (CpuMask &cpu_mask)
 Getting current process CPU affinity cpu_mask Current CPU affinity mask is returned as CPU ID in std::vector<unsigned int>. More...
 
bool coil::setThreadCpuAffinity (const CpuMask cpu_mask)
 Setting process CPU affinity cpu_mask CPU affinity mask to be set is given with CPU ID in std::vector<unsigned int> list. More...
 
bool coil::setThreadCpuAffinity (std::string mask)
 Setting process CPU affinity with string cpu_mask CPU affinity mask to be set is given with comma separated CPU ID string. More...
 

Detailed Description

Processor affinity operation class.

Date
$Date$
Author
Noriaki Ando n-and.nosp@m.o@ai.nosp@m.st.go.nosp@m..jp

Copyright (C) 2016 Noriaki Ando National Institute of Advanced Industrial Science and Technology (AIST), Japan All rights reserved.

$Id$