| UObjectBase
|
Module |
|
Header |
/Engine/Source/Developer/FunctionalTesting/Classes/FunctionalTest.h |
Include |
#include "FunctionalTest.h" |
class UAutomationPerformaceHelper : public UObject
Class for use with functional tests which provides various performance measuring features. Recording of basic, unintrusive performance stats. Automatic captures using external CPU and GPU profilers. Triggering and ending of writing full stats to a file.
Name | Description | ||
---|---|---|---|
|
ExternalProfiler |
||
|
OutputFileBase |
The path and base name for all output files. |
|
|
StartOfTestingTime |
Name | Description | |
---|---|---|
|
UAutomationPerformaceHelper() |
Name | Description | ||
---|---|---|---|
|
BeginRecording ( |
Begins recording a new named performance stats record. We start by recording the baseline. |
|
|
BeginRecordingBaseline ( |
Begins recording a new named performance stats record. We start by recording the baseline |
|
|
BeginStatsFile ( |
Begins recording stats to a file. |
|
|
EndRecording() |
Stops recording performance stats. |
|
|
EndRecordingBaseline() |
Stops recording the baseline and moves to the main record. |
|
|
EndStatsFile() |
Ends recording stats to a file. |
|
|
const FPerfS... |
GetCurrentRecord() |
|
|
FPerfStatsRe... |
GetCurrentRecord() |
|
|
UWorld * |
GetWorld() |
|
|
IsCurrentRecordWithinGameThreadBudget() |
||
|
IsCurrentRecordWithinGPUBudget() |
||
|
IsCurrentRecordWithinRenderThreadBudget() |
||
|
IsRecording() |
Returns true if this stats tracker is currently recording performance stats. |
|
|
OnAllTestsComplete() |
Does any final work needed as all tests are complete. |
|
|
OnBeginTests() |
Does any init work across all tests.. |
|
|
Sample ( |
Adds a sample to the stats counters for the current performance stats record. |
|
|
StartCPUProfiling() |
Communicates with external profiler to being a CPU capture. |
|
|
StopCPUProfiling() |
Communicates with external profiler to end a CPU capture. |
|
|
Tick ( |
||
|
TriggerGPUTraceIfRecordFallsBelowBudget() |
Will trigger a GPU trace next time the current test falls below GPU budget. |
|
|
WriteLogFile |
Writes the current set of performance stats records to a csv file in the profiling directory. |