Navigation
API > API/Runtime > API/Runtime/PerfCounters
References
| Module | PerfCounters |
| Header | /Engine/Source/Runtime/PerfCounters/Public/PerfCountersModule.h |
| Include | #include "PerfCountersModule.h" |
Syntax
class IPerfCounters
Remarks
A programming interface for setting/updating performance counters
Destructors
| Type | Name | Description | |
|---|---|---|---|
Functions
| Type | Name | Description | |
|---|---|---|---|
| uint32 | |||
| int32 | Get overloads | ||
| float | |||
| double | |||
| const TMap< FString, FJsonVariant > & | |||
| FString | |||
| const FString & | Get the unique identifier for this perf counter instance | ||
| double | Returns currently held value, or DefaultValue if none | ||
| int32 | Convenience method for incrementing a transient counter. | ||
| FPerfCounterExecCommandCallback & | |||
| TPerformanceHistogramMap & | Returns performance histograms for direct manipulation by the client code. | ||
| bool | ReportUnplayableCondition
(
const FString& ConditionDescription |
Reports an unplayable condition. | |
| void | Clears transient perf counters, essentially marking beginning of a new stats period | ||
| void | |||
| void | |||
| void | |||
| void | |||
| void | |||
| void | Set
(
const FString& Name, |
||
| void | |||
| void | Set overloads (use these) | ||
| void | SetJson
(
const FString& Name, |
Make a callback so we can request more extensive types on demand (presumably backed by some struct locally) | |
| void | Maps value to a numeric holder | ||
| void | Maps value to a string holder | ||
| bool | StartMachineLoadTracking
(
double TickRate, |
Starts tracking overall machine load (empty array will use default hitch buckets). | |
| bool | Starts tracking overall machine load. | ||
| bool | Stops tracking overall machine load. |
Classes
| Type | Name | Description | |
|---|---|---|---|
| FJsonVariant | |||
| Histograms | Named engine-wide histograms |
Enums
| Type | Name | Description | |
|---|---|---|---|
| Flags |
Typedefs
| Name | Description |
|---|---|
| TPerformanceHistogramMap | Array used to store performance histograms. |