![]() |
UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
|
#include <PerfCountersModule.h>
Inheritance diagram for IPerfCounters:Classes | |
| struct | FJsonVariant |
| struct | Histograms |
Public Types | |
| enum | Flags : uint32 { Transient = (1 << 0) } |
| typedef TMap< FName, FHistogram > | TPerformanceHistogramMap |
A programming interface for setting/updating performance counters
Array used to store performance histograms.
|
inlinevirtual |
|
pure virtual |
Implemented in FPerfCounters.
|
pure virtual |
Implemented in FPerfCounters.
|
pure virtual |
Get the unique identifier for this perf counter instance
Implemented in FPerfCounters.
|
pure virtual |
Returns currently held value, or DefaultValue if none
Implemented in FPerfCounters.
|
inline |
Convenience method for incrementing a transient counter.
| Name | the name of the counter |
| Add | value of the increment (will be added to the counter, can be negative) |
| DefaultValue | if the counter did not exist or was cleared, this is what it will be initialized to before performing the addition |
| Flags | flags for the counter |
|
pure virtual |
Implemented in FPerfCounters.
|
pure virtual |
Returns performance histograms for direct manipulation by the client code.
Implemented in FPerfCounters.
|
pure virtual |
Reports an unplayable condition.
Implemented in FPerfCounters.
Clears transient perf counters, essentially marking beginning of a new stats period
Implemented in FPerfCounters.
|
inline |
Set overloads (use these)
|
pure virtual |
Make a callback so we can request more extensive types on demand (presumably backed by some struct locally)
Implemented in FPerfCounters.
|
pure virtual |
Maps value to a numeric holder
Implemented in FPerfCounters.
|
pure virtual |
Maps value to a string holder
Implemented in FPerfCounters.
Starts tracking overall machine load.
Implemented in FPerfCounters.
|
pure virtual |
Starts tracking overall machine load (empty array will use default hitch buckets).
Implemented in FPerfCounters.
Stops tracking overall machine load.
Implemented in FPerfCounters.