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