TaskGraph.NumForegroundWorkers

TaskGraph.NumForegroundWorkers

#Overview

name: TaskGraph.NumForegroundWorkers

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

It is referenced in 1 C++ source file.

#Summary

#References in C++ code

#Callsites

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

#Loc: <Workspace>/Engine/Source/Runtime/Core/Private/Async/TaskGraph.cpp:113

Scope: file

Source code excerpt:

CORE_API int32 GNumForegroundWorkers = 2;
static FAutoConsoleVariableRef CVarNumForegroundWorkers(
	TEXT("TaskGraph.NumForegroundWorkers"),
	GNumForegroundWorkers,
	TEXT("Configures the number of foreground worker threads. Requires the scheduler to be restarted to have an affect")
);

#if CREATE_HIPRI_TASK_THREADS || CREATE_BACKGROUND_TASK_THREADS
	static void ThreadSwitchForABTest(const TArray<FString>& Args)