AuroraRuntime/Include/Aurora/HWInfo/CpuInfo.hpp
Reece df1c36bd28 [*] Refactor CpuInfo
[*] class -> struct RSA interface
2022-02-18 10:46:51 +00:00

34 lines
623 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
#include "CpuBitId.hpp"
#include "CpuId.hpp"
namespace Aurora::HWInfo
{
struct CpuInfo
{
Aurora::Build::EArchitecture cpuArch;
AuUInt8 uSocket;
AuUInt8 uCores;
AuUInt8 uThreads;
AuList<AuInt64> threadTopology;
AuList<CpuBitId> serverTopology;
CpuBitId maskECores;
bool bMaskMTContig;
bool bMaskMTHalf;
CpuId cpuId;
};
AUKN_SYM const CpuInfo &GetCPUInfo();
}