API Documentation
CpuInformation.h
1 // CpuInformation.h
3 //
5 
6 namespace nkDebug
7 {
11  enum class CPU_VENDOR
12  {
13  UNKNOWN = 0,
14  AMD,
15  INTEL
16  } ;
17 
21  enum class CPU_ARCHITECTURE
22  {
23  UNKNOWN = 0,
24  X_64,
25  ARM,
26  ARM_64
27  } ;
28 }
29 
30 namespace nkDebug
31 {
35  struct CpuInformation final
36  {
38 
41 
42  unsigned int _threadCount = 0u ;
43  } ;
44 }
nkDebug::CPU_VENDOR::UNKNOWN
@ UNKNOWN
Unknown vendor.
nkDebug::CPU_VENDOR::INTEL
@ INTEL
Intel CPU.
nkDebug::CpuInformation::_cpuVendor
CPU_VENDOR _cpuVendor
Detected CPU vendor.
Definition: CpuInformation.h:39
nkDebug::CpuInformation::_cpuArchitecture
CPU_ARCHITECTURE _cpuArchitecture
Detected CPU architecture.
Definition: CpuInformation.h:40
nkDebug::CPU_ARCHITECTURE
CPU_ARCHITECTURE
Lists CPU architectures that can be detected.
Definition: CpuInformation.h:22
nkDebug::CPU_ARCHITECTURE::X_64
@ X_64
AMD64 (64bits) architecture.
nkLog::String
Allows to exchange strings with external code.
Definition: String.h:18
nkDebug::CpuInformation
Holds general information about a CPU.
Definition: CpuInformation.h:36
nkDebug::CPU_VENDOR::AMD
@ AMD
AMD CPU.
nkDebug::CPU_ARCHITECTURE::UNKNOWN
@ UNKNOWN
Unknown architecture.
nkDebug::CPU_ARCHITECTURE::ARM
@ ARM
ARM architecture.
nkDebug::CPU_ARCHITECTURE::ARM_64
@ ARM_64
ARM64 architecture.
nkDebug
Encompasses all API of component NilkinsDebug.
Definition: LogManager.h:7
nkDebug::CpuInformation::_threadCount
unsigned int _threadCount
Number of system threads the CPU is running.
Definition: CpuInformation.h:42
nkDebug::CpuInformation::_cpuLabel
nkLog::String _cpuLabel
Name of the CPU.
Definition: CpuInformation.h:37
nkDebug::CPU_VENDOR
CPU_VENDOR
Lists CPU vendors that can be detected.
Definition: CpuInformation.h:12