/Engine/Source/Runtime/Engine/Classes/Engine/Engine.h
Set priority and affinity on game thread either from ini file or from FPlatformAffinity::GetGameThreadPriority()
void SetPriorityAndAffinityOnGameThread()