23 #ifndef __ccxx_CPUStats_hxx 24 #define __ccxx_CPUStats_hxx 51 float getSystem(
int cpu = -1)
const;
59 float getUser(
int cpu = -1)
const;
67 float getNice(
int cpu = -1)
const;
75 float getIdle(
int cpu = -1)
const;
86 uint_t lookupCPUCount()
const;
92 #ifdef CCXX_OS_WINDOWS 101 #endif // __ccxx_CPUStats_hxx A collector of system performance or resource utilization statistics.
Definition: SystemStats.h++:37
unsigned int uint_t
An alias for unsigned int.
Definition: Integers.h++:74
uint_t getCPUCount() const
Get the number of CPUs in the system.
Definition: CPUStats.h++:78
#define COMMONCPP_API
Definition: Common.h++:126
#define CCXX_COPY_DECLS(CLASS)
Inlines declarations of a copy constructor and assignment operator for the class CLASS.
Definition: Common.h++:295
System CPU utilization statistics.
Definition: CPUStats.h++:35
Definition: AllocationMap.c++:25