/Engine/Source/Runtime/RHI/Public/GPUProfiler.h
Encapsulates GPU profiling logic and data. There's only one global instance of this struct so it should only contain global data, nothing specific to a frame.
struct FGPUProfiler
bool
bLatchedGProfilingGPU
A latched version of GTriggerGPUProfile.
bool
bLatchedGProfilingGPUHitches
A latched version of GTriggerGPUHitchProfile.
bool
bOriginalGEmitDrawEvents
Original state of GEmitDrawEvents before it was overridden for profiling.
bool
bPreviousLatchedGProfilingGPUHitches
The previous latched version of GTriggerGPUHitchProfile.
bool
bTrackingEvents
Whether we are currently tracking perf events or not.
bool
bTrackingGPUCrashData
Whether we are currently tracking data for gpucrash debugging or not
FGPUProfilerEve...
CurrentEventNode
Current perf event node.
FGPUProfilerEve...
CurrentEventNodeFrame
Current perf event node frame.
int32
GPUCrashDataDepth
Scope depth to record crash data depth. to limit perf/mem requirements
int32
GPUHitchDebounce
GPU hitch profile history debounce...after a hitch, we just ignore frames for a while
int32
StackDepth