CppCommon
1.0.4.1
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. More... | |
static int | Affinity () |
CPU affinity count. More... | |
static int | LogicalCores () |
CPU logical cores count. More... | |
static int | PhysicalCores () |
CPU physical cores count. More... | |
static std::pair< int, int > | TotalCores () |
CPU total cores count. More... | |
static int64_t | ClockSpeed () |
CPU clock speed in Hz. More... | |
static bool | HyperThreading () |
Is CPU Hyper-Threading enabled? More... | |
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 |