SetThreadConfig

SetThreadConfig

#Overview

name: SetThreadConfig

This variable is created as a Console Variable (cvar).

It is referenced in 2 C++ source files.

#Summary

#References in C++ code

#Callsites

This variable is referenced in the following C++ source code:

#Loc: <Workspace>/Engine/Source/Runtime/Engine/Private/UnrealEngine.cpp:18714

Scope: file

Source code excerpt:

// Example: SetThreadConfig Task:TPri_Normal:0x3f TaskBP:TPri_SlightlyBelowNormal:0x7f GT:TPri_Highest RT:TPri_Highest RHI:TPri_Highest
static FAutoConsoleCommand SetupThreadConfigCmd(
	TEXT("SetThreadConfig"),
	TEXT("Sets a thread Priority and/or Affinity. A single arg of default resets all the thread Priorities and Affinities, otherwise [GT|RT|RHI|Task|TaskBP] both/either [TPri_type] [0x] sets the Priority and/or Affinity."),
	FConsoleCommandWithArgsDelegate::CreateStatic(&SetupThreadConfig)
);

void InitThreadConfig()
{

#Loc: <Workspace>/Engine/Source/Runtime/Engine/Private/UnrealEngine.cpp:18711

Scope: file

Source code excerpt:

}

// SetThreadConfig console command to change thread configurations/affinities at runtime. Corresponds to ThreadConfigs array in /Script/Engine.Engine
// Example: SetThreadConfig Task:TPri_Normal:0x3f TaskBP:TPri_SlightlyBelowNormal:0x7f GT:TPri_Highest RT:TPri_Highest RHI:TPri_Highest
static FAutoConsoleCommand SetupThreadConfigCmd(
	TEXT("SetThreadConfig"),
	TEXT("Sets a thread Priority and/or Affinity. A single arg of default resets all the thread Priorities and Affinities, otherwise [GT|RT|RHI|Task|TaskBP] both/either [TPri_type] [0x] sets the Priority and/or Affinity."),
	FConsoleCommandWithArgsDelegate::CreateStatic(&SetupThreadConfig)
);