FGenericPlatformMisc::GetCPUInfo

On x86(-64) platforms, uses cpuid instruction to get the CPU signature

Windows
MacOS
Linux

References

Module

Core

Header

/Engine/Source/Runtime/Core/Public/GenericPlatform/GenericPlatformMisc.h

Include

#include "GenericPlatform/GenericPlatformMisc.h"

Source

/Engine/Source/Runtime/Core/Private/GenericPlatform/GenericPlatformMisc.cpp

Syntax

static uint32 GetCPUInfo()

Remarks

On x86(-64) platforms, uses cpuid instruction to get the CPU signature

Returns

CPU info bitfield Bits 0-3 Stepping ID Bits 4-7 Model Bits 8-11 Family Bits 12-13 Processor type (Intel) / Reserved (AMD) Bits 14-15 Reserved Bits 16-19 Extended model Bits 20-27 Extended family Bits 28-31 Reserved

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss