FGPUTiming::GetCalibrationTimestamp

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

Windows
MacOS
Linux

References

Module

RHI

Header

/Engine/Source/Runtime/RHI/Public/GPUProfiler.h

Include

#include "GPUProfiler.h"

Syntax

static FGPUTimingCalibrationTimestamp GetCalibrationTimestamp
(
    uint32 GPUIndex
)

Remarks

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

Returns

CPU and GPU timestamps, in microseconds. Both are 0 if 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