/Engine/Source/Runtime/Core/Public/GenericPlatform/GenericPlatformMisc.h
Parse CoreLimit from CommandLine or from the SetCoreLimit value. The real number of physical cores and logical cores must be provided so that CommandLine arguments can be translated.
static void GetConfiguredCoreLimits ( int32 PlatformNumPhysicalCores, int32 PlatformNumLogicalCores, bool & bOutFullyInitialized, int32 & OutPhysicalCoreLimit, int32 & OutLogicalCoreLimit, bool & bOutSetPhysicalCountToLogicalCount )