Navigation
API > API/Runtime > API/Runtime/RHI
Inheritance Hierarchy
- FGPUProfiler
- FOpenGLGPUProfiler
References
Module | RHI |
Header | /Engine/Source/Runtime/RHI/Public/GPUProfiler.h |
Include | #include "GPUProfiler.h" |
Syntax
struct FGPUProfiler
Remarks
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.
Variables
Type | Name | Description | |
---|---|---|---|
![]() |
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 |
![]() |
FGPUProfilerEventNode * | CurrentEventNode | Current perf event node. |
![]() |
FGPUProfilerEventNodeFrame * | 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 |
Constructors
Type | Name | Description | |
---|---|---|---|
![]() |
FGPUProfiler () |
Destructors
Type | Name | Description | |
---|---|---|---|
![]() ![]() |
Functions
Type | Name | Description | |
---|---|---|---|
![]() ![]() |
FGPUProfilerEventNode * | CreateEventNode
(
const TCHAR* InName, |
|
![]() ![]() |
void | PopEvent () |
|
![]() ![]() |
void | ||
![]() |
void | RegisterGPUDispatch
(
FIntVector GroupCount |
|
![]() |
void | RegisterGPUWork
(
uint32 NumPrimitives, |
|
![]() |
void | RegisterGPUWork
(
uint32 NumDraws, |