Choose your operating system:
Windows
macOS
Linux
| TSharedFromThis
|
Module |
|
Header |
/Engine/Plugins/FX/Niagara/Source/Niagara/Classes/NiagaraPerfBaseline.h |
Include |
#include "NiagaraPerfBaseline.h" |
class FParticlePerfStatsListener_NiagaraPerformanceReporter : public FParticlePerfStatsListener_GatherAll
This listener gathers perf stats for all systems and will give less intrusive reports on systems that exceed their baseline cost.
Name | Description | ||
---|---|---|---|
|
bResultsTrigger |
||
|
CurrentFrameNumber |
||
|
float |
CurrentWorldTime |
We store the current target world time so we can give an indication of the time range for poor tests in the report. |
|
NumFrames |
||
|
NumFramesRT |
||
|
ResultsFence |
We use an RT Command Fence to know when the RT data is valid and we can report the current stats to the screen. |
|
|
StoredStats |
Track the worst recorded stats for each system. |
|
|
TestNameString |
||
|
TotalTests |
How many test have been done in total so far. |
|
|
TWeakObjectPtr<... |
World |
Name | Description | |
---|---|---|
|
FParticlePerfStatsListener_NiagaraPerformanceReporter ( |
Name | Description | ||
---|---|---|---|
|
HandleTestResults() |
||
|
ReportToLog() |
||
|
ReportToScreen() |
Name | Description | ||
---|---|---|---|
|
NeedsSystemStats() |
||
|
NeedsWorldStats() |
||
|
Tick() |
Called every frame with the current frame data. |
|
|
TickRT() |
Called every frame from the render thread gather any RT stats. |
Name |
Description |
|
---|---|---|
|
FStatTestInfo |
Info on a particular test run. |
|
FStoredStatsInfo |
Name |
Description |
---|---|
TestDebugMessageID |