Struct _psyiage_cpuinfo

Struct Documentation

struct _psyiage_cpuinfo

CPU Information Specification details of the CPU running on the system.

Public Types

enum [anonymous]

CPU architecture type.

Values:

ARCH_UNKNOWN = -1
ARCH_X86
ARCH_IA64
ARCH_AARCH64
ARCH_ARM
ARCH_MIPS
ARCH_PPC
enum [anonymous]

CPU endian.

Values:

ENDIAN_BIG
ENDIAN_LITTLE

Public Members

uint32_t threadspercore

Hyperthreads.

uint32_t coresperpkg

Physical "cores".

uint32_t numpkgs

Physical CPU units/packages/sockets.

char vendor[13]

CPU vendor.

char model[64]

CPU model.

char architecture[32]

CPU architecture.

char features[128]

CPU features.

_psyiage_cpuinfo::[anonymous] archtype

CPU architecture type.

_psyiage_cpuinfo::[anonymous] endian

CPU endian.

float clockmhz

CPU clock speed in MHz.

int family
int model
int stepping
char brand[49]
char uarch[64]
struct _psyiage_cpuinfo::[anonymous]::[anonymous] X86Info

X86-specific specifications.

int implementer
int variant
int part
int revision
struct _psyiage_cpuinfo::[anonymous]::[anonymous] Aarch64Info

AArch64-specific specifications.

int architecture
struct _psyiage_cpuinfo::[anonymous]::[anonymous] ArmInfo

32-bit arm-specific specifications

struct _psyiage_cpuinfo::[anonymous]::[anonymous] MipsInfo

MIPS-specific specifications.

char platform[64]
char machine[64]
char cpu[64]
char isa[64]
struct _psyiage_cpuinfo::[anonymous]::[anonymous] PPCInfo

PPC-specific specifications.

union _psyiage_cpuinfo::[anonymous] [anonymous]
uint8_t level
uint32_t size
uint32_t linesize
uint8_t associativity
_psyiage_cpuinfo::[anonymous]::[anonymous] type
struct _psyiage_cpuinfo::[anonymous] cache[MAX_CACHES]

Cache specifications.

unsigned int numcaches

Number of CPU caches.