PerfWarn.FinePercentThreshold
PerfWarn.FinePercentThreshold
#Overview
name: PerfWarn.FinePercentThreshold
This variable is created as a Console Variable (cvar).
- type:
Var
- help:
The percentage of samples that fall below min FPS above which we warn for.
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/Editor/UnrealEd/Private/PerformanceMonitor.cpp:119
Scope: file
Source code excerpt:
TEXT("PerfWarn.CoarseMinFPS"), 20, TEXT("The FPS threshold below which we warn about for coarse-grained sampling."), ECVF_Default);
static TAutoConsoleVariable<int32> CVarFinePercentThreshold(
TEXT("PerfWarn.FinePercentThreshold"), 80, TEXT("The percentage of samples that fall below min FPS above which we warn for."), ECVF_Default);
static TAutoConsoleVariable<int32> CVarCoarsePercentThreshold(
TEXT("PerfWarn.CoarsePercentThreshold"), 80, TEXT("The percentage of samples that fall below min FPS above which we warn for."), ECVF_Default);
FPerformanceMonitor::FPerformanceMonitor()
{
LastEnableTime = 0;
#Loc: <Workspace>/Engine/Source/Editor/UnrealEd/Private/PerformanceMonitor.cpp:299
Scope (from outer to inner):
file
function void FPerformanceMonitor::Tick
Source code excerpt:
{
static IConsoleVariable* CVarMinFPS = IConsoleManager::Get().FindConsoleVariable(TEXT("PerfWarn.FineMinFPS"));
static IConsoleVariable* CVarPercentThreshold = IConsoleManager::Get().FindConsoleVariable(TEXT("PerfWarn.FinePercentThreshold"));
static IConsoleVariable* CVarSampleTime = IConsoleManager::Get().FindConsoleVariable(TEXT("PerfWarn.FineSampleTime"));
PercentUnderTarget = FineMovingAverage.PercentageBelowThreshold(CVarMinFPS->GetFloat());
if (PercentUnderTarget >= CVarPercentThreshold->GetFloat())
{