Navigation
Unreal Engine C++ API Reference > Runtime > RHI
Inheritance Hierarchy
- FGPUTiming
- FOpenGLBufferedGPUTiming
References
Module | RHI |
Header | /Engine/Source/Runtime/RHI/Public/GPUProfiler.h |
Include | #include "GPUProfiler.h" |
Syntax
struct FGPUTiming
Remarks
Holds information if this platform's GPU allows timing
Functions
Type | Name | Description | |
---|---|---|---|
![]() ![]() |
FGPUTimingCalibrationTimestamp | GetCalibrationTimestamp
(
uint32 GPUIndex |
Returns a pair of timestamps performed on GPU and CPU at nearly the same time, in microseconds. |
![]() ![]() |
uint64 | GetTimingFrequency
(
uint32 GPUIndex |
Returns the frequency for the timing values, in number of ticks per seconds. |
![]() ![]() |
bool | IsSupported () |
Whether GPU timing measurements are supported by the driver. |
![]() ![]() |
void | SetCalibrationTimestamp
(
FGPUTimingCalibrationTimestamp CalibrationTimestamp, |
|
![]() ![]() |
void | SetTimingFrequency
(
uint64 TimingFrequency, |
|
![]() ![]() |
void | StaticInitialize
(
void* UserData, |
Typedefs
Name | Description |
---|---|
PlatformStaticInitialize |
Constants
Name | Description |
---|---|
GAreGlobalsInitialized | Whether the static variables have been initialized. |
GCalibrationTimestamp | Two timestamps performed on GPU and CPU at nearly the same time. |
GIsSupported | Whether GPU timing measurements are supported by the driver. |
GTimingFrequency | Frequency for the timing values, in number of ticks per seconds, or 0 if the feature isn't supported. |