FGPUTiming

Holds information if this platform's GPU allows timing

Windows
MacOS
Linux

Inheritance Hierarchy

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

Name Description

Public function Static

FGPUTimingCa...

 

GetCalibrationTimestamp

(
    uint32 GPUIndex
)

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

Public function Static

uint64

 

GetTimingFrequency

(
    uint32 GPUIndex
)

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.

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss