CMS 3D CMS Logo

CPUAffinity.h
Go to the documentation of this file.
1 #ifndef CPUAffinity_h
2 #define CPUAffinity_h
3 
4 class CPUAffinity {
5 public:
6  static bool isCpuBound();
7  static bool bindToCurrentCpu();
8  static int currentCpu();
9 };
10 
11 #endif // CPUAffinity_h
static bool isCpuBound()
Definition: CPUAffinity.cc:60
static int currentCpu()
Definition: CPUAffinity.cc:51
static bool bindToCurrentCpu()
Definition: CPUAffinity.cc:78