FrameInfo

class FrameInfo(val frameId: Int, val gpuFrameDuration: Long, val denoisedGpuFrameDuration: Long, val beginFrame: Long, val endFrame: Long, val backendBeginFrame: Long, val backendEndFrame: Long, val gpuFrameComplete: Long, val vsync: Long, val displayPresent: Long, val presentDeadline: Long, val displayPresentInterval: Long, val compositionToPresentLatency: Long, val expectedPresentLatency: Long, val frameScheduleTime: Long)

Timing information about a frame. Times are nanoseconds since the steady-clock epoch; durations are nanoseconds.

Constructors

Link copied to clipboard
constructor(frameId: Int, gpuFrameDuration: Long, denoisedGpuFrameDuration: Long, beginFrame: Long, endFrame: Long, backendBeginFrame: Long, backendEndFrame: Long, gpuFrameComplete: Long, vsync: Long, displayPresent: Long, presentDeadline: Long, displayPresentInterval: Long, compositionToPresentLatency: Long, expectedPresentLatency: Long, frameScheduleTime: Long)

Properties

Link copied to clipboard

Backend thread time of frame start.

Link copied to clipboard

Backend thread time of frame end.

Link copied to clipboard

Renderer.beginFrame() time.

Link copied to clipboard

Time between the start of composition and the expected present time.

Link copied to clipboard

Denoised frame duration on the GPU.

Link copied to clipboard

Actual presentation time of this frame.

Link copied to clipboard

Display refresh period.

Link copied to clipboard

Renderer.endFrame() time.

Link copied to clipboard

Time between vsync and the system's expected presentation time.

Link copied to clipboard

Monotonically increasing frame identifier.

Link copied to clipboard

Frame scheduling callback entry time.

Link copied to clipboard

GPU thread time of frame end, or 0.

Link copied to clipboard

Frame duration on the GPU.

Link copied to clipboard

Deadline for queuing a frame.

Link copied to clipboard
val vsync: Long

VSYNC time of this frame.