FGenericPlatformProcess::GetCurrentCoreNumber

Retrieves the current hardware CPU core

Windows
MacOS
Linux

References

Module

Core

Header

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

Include

#include "GenericPlatform/GenericPlatformProcess.h"

Source

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

Syntax

static uint32 GetCurrentCoreNumber()

Remarks

Retrieves the current hardware CPU core

Returns

the current hardware core.

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