26 lines
466 B
C++
26 lines
466 B
C++
|
/***
|
||
|
Copyright (C) 2021 J Reece Wilson (a/k/a "Reece"). All rights reserved.
|
||
|
|
||
|
File: CpuInfo.hpp
|
||
|
Date: 2021-6-10
|
||
|
Author: Reece
|
||
|
***/
|
||
|
#pragma once
|
||
|
|
||
|
namespace Aurora::HWInfo
|
||
|
{
|
||
|
struct CpuInfo
|
||
|
{
|
||
|
Aurora::Build::EArchitecture cpuArch;
|
||
|
|
||
|
AuUInt8 socket;
|
||
|
AuUInt8 cores;
|
||
|
AuUInt8 threads;
|
||
|
|
||
|
AuUInt32 cpuId[4];
|
||
|
char vendor[12];
|
||
|
unsigned features;
|
||
|
};
|
||
|
|
||
|
AUKN_SYM const CpuInfo &GetCPUInfo();
|
||
|
}
|