UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
PerfCountersModule.h File Reference
#include "Containers/Array.h"
#include "Containers/Map.h"
#include "Containers/UnrealString.h"
#include "CoreMinimal.h"
#include "Delegates/Delegate.h"
#include "HAL/Platform.h"
#include "Modules/ModuleInterface.h"
#include "Modules/ModuleManager.h"
#include "Templates/SharedPointer.h"

Go to the source code of this file.

Classes

class  IPerfCounters
 
struct  IPerfCounters::FJsonVariant
 
struct  IPerfCounters::Histograms
 
class  IPerfCountersModule
 

Typedefs

typedef TSharedRef< TJsonWriter< TCHAR, TPrettyJsonPrintPolicy< TCHAR > > > FPrettyJsonWriter
 

Functions

 DECLARE_DELEGATE_OneParam (FProduceJsonCounterValue, const FPrettyJsonWriter &)
 
 DECLARE_DELEGATE_RetVal_TwoParams (bool, FPerfCounterExecCommandCallback, const FString &, FOutputDevice &)
 

Typedef Documentation

◆ FPrettyJsonWriter

Function Documentation

◆ DECLARE_DELEGATE_OneParam()

DECLARE_DELEGATE_OneParam ( FProduceJsonCounterValue  ,
const FPrettyJsonWriter  
)

Delegate called for a given counter to generate custom json at the time the query is made

Parameters
JsonWriterjson output writer

◆ DECLARE_DELEGATE_RetVal_TwoParams()

DECLARE_DELEGATE_RetVal_TwoParams ( bool  ,
FPerfCounterExecCommandCallback  ,
const FString &  ,
FOutputDevice  
)

Delegate called when an exec command has been passed in on via the query port

Parameters
ExecCmdstring command to execute
Outputoutput device to write the response back to the querying service
Returns
true if the call was handled, false otherwise