PerfWarn.CoarseMinFPS
PerfWarn.CoarseMinFPS
#Overview
name: PerfWarn.CoarseMinFPS
This variable is created as a Console Variable (cvar).
- type:
Var
- help:
The FPS threshold below which we warn about for coarse-grained sampling.
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:117
Scope: file
Source code excerpt:
TEXT("PerfWarn.FineMinFPS"), 10, TEXT("The FPS threshold below which we warn about for fine-grained sampling."), ECVF_Default);
static TAutoConsoleVariable<int32> CVarCoarseMinFPS(
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()
#Loc: <Workspace>/Engine/Source/Editor/UnrealEd/Private/PerformanceMonitor.cpp:316
Scope (from outer to inner):
file
function void FPerformanceMonitor::Tick
Source code excerpt:
if (!bLowFramerate && CoarseMovingAverage.IsReliable())
{
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())
{