FOpenGLBufferedGPUTiming::GetTiming

Retrieves the most recently resolved timing measurement.

Windows
MacOS
Linux

References

Module

OpenGLDrv

Header

/Engine/Source/Runtime/OpenGLDrv/Public/OpenGLDrv.h

Include

#include "OpenGLDrv.h"

Source

/Engine/Source/Runtime/OpenGLDrv/Private/OpenGLQuery.cpp

Syntax

uint64 GetTiming
(
    bool bGetCurrentResultsAndBlock
)

Remarks

Retrieves the most recently resolved timing measurement. The unit is the same as for FPlatformTime::Cycles(). Returns 0 if there are no resolved measurements.

Returns

Value of the most recently resolved timing, or 0 if no measurements have been resolved by the GPU yet.

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