Navigation
API > API/Plugins > API/Plugins/AutomatedPerfTesting
ProfileGo Automated Perf Test
| Name | UProfileGo |
| Type | class |
| Header File | /Engine/Plugins/Performance/AutomatedPerfTesting/Source/AutomatedPerfTesting/Public/ProfileGo/ProfileGo.h |
| Include Path | #include "ProfileGo/ProfileGo.h" |
Syntax
UCLASS (Config=Game, MinimalAPI)
class UProfileGo : public UObject
Inheritance Hierarchy
- UObjectBase → UObjectBaseUtility → UObject → UProfileGo
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
UProfileGo() |
ProfileGo/ProfileGo.h |
Typedefs
| Name | Type | Remarks | Include Path |
|---|---|---|---|
| CommandHandlerDelegate | TBaseDelegate_TwoParams< bool, FString &, const FProfileGoCommandAPT &ProfileGoCommand > | ProfileGo/ProfileGo.h | |
| GeneratedScenarioHandlerDelegate | TBaseDelegate_TwoParams< bool, FString &, FString & > | ProfileGo/ProfileGo.h | |
| StateTickerDelegate | TBaseDelegate_OneParam< void, float > | ProfileGo/ProfileGo.h |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| ProfileGoCollections | TArray< FProfileGoCollectionAPT > | ProfileGo/ProfileGo.h |
|
|
| ProfileGoCommands | TArray< FProfileGoCommandAPT > | ProfileGo/ProfileGo.h |
|
|
| ProfileGoGeneratedScenarios | TArray< FProfileGoGeneratedScenarioAPT > | ProfileGo/ProfileGo.h |
|
|
| ProfileGoScenarios | TArray< FProfileGoScenarioAPT > | ProfileGo/ProfileGo.h |
|
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void AddNewProfileGoCollection
(
FProfileGoCollectionAPT NewCollection |
ProfileGo/ProfileGo.h | ||
void AddNewProfileGoScenario
(
FProfileGoScenarioAPT NewScenario |
ProfileGo/ProfileGo.h | ||
void AddScenariosInLevel
(
UWorld* World |
ProfileGo/ProfileGo.h | ||
bool AddScenariosToCurrentRequest
(
TArray< FProfileGoScenarioAPT > Scenarios, |
ProfileGo/ProfileGo.h | ||
bool AddScenariosToCurrentRequest
(
const TCHAR* ProfileName, |
Returns true if a scenario or collection was found matching ProfileName. Begins test pass once all scenario names passed through ProfileGo have been added to the CurrentRequest. | ProfileGo/ProfileGo.h | |
FString GetCurrentScenarioName() |
ProfileGo/ProfileGo.h | ||
FString GetStatus() |
ProfileGo/ProfileGo.h | ||
bool HasEncounteredError() |
ProfileGo/ProfileGo.h | ||
bool IsRunning() |
ProfileGo/ProfileGo.h | ||
void LoadFromJSON
(
const FString& Filename |
ProfileGo/ProfileGo.h | ||
void RegisterCommandDelegate
(
const FString& Command, |
ProfileGo/ProfileGo.h | ||
void RegisterGeneratedScenarioDelegate
(
const FString& Command, |
ProfileGo/ProfileGo.h | ||
bool Run
(
UProfileGoSubsystem* InSubsystem, |
ProfileGo/ProfileGo.h | ||
void SaveToJSON
(
const FString& Filename |
ProfileGo/ProfileGo.h | ||
void Tick
(
float DeltaTime |
ProfileGo/ProfileGo.h | ||
bool TryFindScenarios
(
const TCHAR* ProfileName, |
ProfileGo/ProfileGo.h | ||
void UpdateProjectSettings() |
ProfileGo/ProfileGo.h | ||
bool WaitForLoadingAndStreaming
(
UWorld* InWorld, |
ProfileGo/ProfileGo.h |
Protected
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void AbortWithError
(
const TCHAR* InErrorMessage |
ProfileGo/ProfileGo.h | ||
void CheckIfStreamingCompleted() |
ProfileGo/ProfileGo.h | ||
void ClientMessage
(
const TCHAR* InMsg |
ProfileGo/ProfileGo.h | ||
bool CollectionExists
(
const FString& Name |
ProfileGo/ProfileGo.h | ||
void ConsoleCommand
(
const TCHAR* InCommand |
ProfileGo/ProfileGo.h | ||
TArray< FProfileGoCommandAPT > CreateCommandList
(
const FString& InCommandString |
ProfileGo/ProfileGo.h | ||
FProfileGoScenarioAPT CreateScenarioHere
(
const TCHAR* ScenarioName |
ProfileGo/ProfileGo.h | ||
void ExecuteProfileGoCommand
(
const FProfileGoCommandAPT& ProfileGoCommand |
ProfileGo/ProfileGo.h | ||
TArray< FProfileGoCollectionAPT > & GetCollectionTemplates() |
ProfileGo/ProfileGo.h | ||
TArray< FProfileGoCommandAPT > & GetCommandTemplates() |
ProfileGo/ProfileGo.h | ||
TArray< FProfileGoGeneratedScenarioAPT > & GetGeneratedScenarioTemplates() |
ProfileGo/ProfileGo.h | ||
APlayerController * GetPlayerController() |
ProfileGo/ProfileGo.h | ||
TArray< FProfileGoScenarioAPT > & GetScenarioTemplates() |
ProfileGo/ProfileGo.h | ||
FString GetStateName
(
EProfileGoStateAPT InState |
ProfileGo/ProfileGo.h | ||
void MarkCommandComplete() |
ProfileGo/ProfileGo.h | ||
void RegisterInternalCommandDelegates() |
ProfileGo/ProfileGo.h | ||
void RegisterInternalGeneratedScenarioDelegates() |
ProfileGo/ProfileGo.h | ||
bool ScenarioExists
(
const FString& Name |
ProfileGo/ProfileGo.h | ||
void SetState
(
EProfileGoStateAPT InState |
ProfileGo/ProfileGo.h | ||
void StartCommandLog
(
const FProfileGoCommandAPT& ProfileGoCommand |
ProfileGo/ProfileGo.h | ||
virtual void StartNextScenario() |
ProfileGo/ProfileGo.h | ||
void StopCommandLog() |
ProfileGo/ProfileGo.h | ||
virtual void TeleportToScenario
(
FProfileGoScenarioAPT& CurrentScenario |
ProfileGo/ProfileGo.h | ||
virtual void TickCompleted
(
float DeltaTime |
ProfileGo/ProfileGo.h | ||
virtual void TickCompletedScenario
(
float DeltaTime |
ProfileGo/ProfileGo.h | ||
virtual void TickProfiling
(
float DeltaTime |
ProfileGo/ProfileGo.h | ||
virtual void TickSettling
(
float DeltaTime |
ProfileGo/ProfileGo.h | ||
virtual bool TickSettlingLocation
(
float DeltaTime |
ProfileGo/ProfileGo.h | ||
virtual void TickStartingRequest
(
float DeltaTime |
ProfileGo/ProfileGo.h | ||
virtual void TickSummary
(
float DeltaTime |
ProfileGo/ProfileGo.h | ||
virtual bool TryExecuteNextPendingCommand() |
ProfileGo/ProfileGo.h | ||
virtual bool TryGenerateScenariosForCurrentRequest
(
const TCHAR* InProfileName, |
ProfileGo/ProfileGo.h | ||
virtual bool TryHandleProfileGoCommandString
(
const FProfileGoCommandAPT& ProfileGoCommand |
ProfileGo/ProfileGo.h | ||
bool TryParseValue
(
const TCHAR* Stream, |
ProfileGo/ProfileGo.h | ||
void WaitForCommandComplete
(
float MaxWaitSeconds |
ProfileGo/ProfileGo.h | ||
void WaitForStreamingCommandComplete() |
ProfileGo/ProfileGo.h |
Static
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static bool FindBestStandingPoint
(
UWorld* InWorld, |
ProfileGo/ProfileGo.h | ||
static UProfileGo & GetCDO() |
This getter is primarily used as a static way to access Config data. | ProfileGo/ProfileGo.h |