40 #ifndef _H_MACHINEINFO
41 #define _H_MACHINEINFO
51 static pthread_mutex_t mutex;
54 static bool initialised;
71 unsigned long int cores()
const;
unsigned long int cores() const
The number of available cores.
Definition: MachineInfo.cpp:77
static const MachineInfo & getInstance()
Gets a singleton instance.
Definition: MachineInfo.cpp:38
unsigned long int P
The number of available cores on this machine.
Definition: MachineInfo.hpp:61
Singleton class to get info on the current system.
Definition: MachineInfo.hpp:44
static void load()
Intialises the singleton instance.
Definition: MachineInfo.cpp:54