Language:
Discover
By Skill Level
By Category

FGPUTiming

Choose your OS:

Inheritance Hierarchy

Syntax

struct FGPUTiming

Remarks

Holds information if this platform's GPU allows timing

Functions

Name Description

Public function Static

FGPUTimingCa ...

 

GetCalibrationTimestamp()

Returns a pair of timestamps performed on GPU and CPU at nearly the same time, in microseconds.

Public function Static

uint64

 

GetTimingFrequency()

Returns the frequency for the timing values, in number of ticks per seconds.

Public function Static

bool

 

IsSupported()

Whether GPU timing measurements are supported by the driver.

Public function Static

void

 

StaticInitialize

(
    void* UserData,
    PlatformStaticInitialize * Plat...
)

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.

References

Module

RHI

Header

Runtime/RHI/Public/GPUProfiler.h