CppCommon 1.0.5.0
C++ Common Library
|
CPU management static class. More...
#include <cpu.h>
Public Member Functions | |
CPU ()=delete | |
CPU (const CPU &)=delete | |
CPU (CPU &&)=delete | |
~CPU ()=delete | |
CPU & | operator= (const CPU &)=delete |
CPU & | operator= (CPU &&)=delete |
Static Public Member Functions | |
static std::string | Architecture () |
CPU architecture string. | |
static int | Affinity () |
CPU affinity count. | |
static int | LogicalCores () |
CPU logical cores count. | |
static int | PhysicalCores () |
CPU physical cores count. | |
static std::pair< int, int > | TotalCores () |
CPU total cores count. | |
static int64_t | ClockSpeed () |
CPU clock speed in Hz. | |
static bool | HyperThreading () |
Is CPU Hyper-Threading enabled? | |
CPU management static class.
Provides CPU management functionality such as architecture, cores count, clock speed, Hyper-Threading feature.
Thread-safe.
|
delete |
|
delete |
|
delete |
|
delete |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |