9 #ifndef CPPCOMMON_SYSTEM_CPU_H
10 #define CPPCOMMON_SYSTEM_CPU_H
CPU management static class.
static int LogicalCores()
CPU logical cores count.
static bool HyperThreading()
Is CPU Hyper-Threading enabled?
static int Affinity()
CPU affinity count.
static std::string Architecture()
CPU architecture string.
CPU & operator=(CPU &&)=delete
static std::pair< int, int > TotalCores()
CPU total cores count.
static int PhysicalCores()
CPU physical cores count.
static int64_t ClockSpeed()
CPU clock speed in Hz.
CPU & operator=(const CPU &)=delete
C++ Common project definitions.