PerfWarn.CoarsePercentThreshold
PerfWarn.CoarsePercentThreshold
#Overview
name: PerfWarn.CoarsePercentThreshold
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:121
Scope: file
Source code excerpt:
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;
NotificationTimeout = AutoApplyScalabilityTimeout;
bIsNotificationAllowed = true;
#Loc: <Workspace>/Engine/Source/Editor/UnrealEd/Private/PerformanceMonitor.cpp:317
Scope (from outer to inner):
file
function void FPerformanceMonitor::Tick
Source code excerpt:
{
static IConsoleVariable* CVarMinFPS = IConsoleManager::Get().FindConsoleVariable(TEXT("PerfWarn.CoarseMinFPS"));
static IConsoleVariable* CVarPercentThreshold = IConsoleManager::Get().FindConsoleVariable(TEXT("PerfWarn.CoarsePercentThreshold"));
PercentUnderTarget = CoarseMovingAverage.PercentageBelowThreshold(CVarMinFPS->GetFloat());
if (PercentUnderTarget >= CVarPercentThreshold->GetFloat())
{
static IConsoleVariable* CoarseSampleTimeCVar = IConsoleManager::Get().FindConsoleVariable(TEXT("PerfWarn.CoarseSampleTime"));