A structure to retrieve CPU information (vendor, model, speed, number of cores etc.) More...
#include <SystemInfo.h>
Public Member Functions | |
CpuInfo & | init () |
bool | operator== (const CpuInfo &other) const |
bool | operator!= (const CpuInfo &other) const |
Public Attributes | |
String | vendor |
String | model |
int | mhz |
uint32_t | cache_size |
int | total_sockets |
int | total_cores |
int | cores_per_socket |
A structure to retrieve CPU information (vendor, model, speed, number of cores etc.)
Definition at line 46 of file SystemInfo.h.
CpuInfo & Hypertable::CpuInfo::init | ( | ) |
Definition at line 399 of file SystemInfo.cc.
|
inline |
Definition at line 49 of file SystemInfo.h.
bool CpuInfo::operator== | ( | const CpuInfo & | other | ) | const |
Definition at line 54 of file SystemInfo.cc.
uint32_t Hypertable::CpuInfo::cache_size |
Definition at line 56 of file SystemInfo.h.
int Hypertable::CpuInfo::cores_per_socket |
Definition at line 59 of file SystemInfo.h.
int Hypertable::CpuInfo::mhz |
Definition at line 55 of file SystemInfo.h.
String Hypertable::CpuInfo::model |
Definition at line 54 of file SystemInfo.h.
int Hypertable::CpuInfo::total_cores |
Definition at line 58 of file SystemInfo.h.
int Hypertable::CpuInfo::total_sockets |
Definition at line 57 of file SystemInfo.h.
String Hypertable::CpuInfo::vendor |
Definition at line 53 of file SystemInfo.h.