FrameClock.getTimings

gdk.frame_timings.FrameTimings getTimings(long frameCounter)

Retrieves a #GdkFrameTimings object holding timing information for the current frame or a recent frame. The #GdkFrameTimings object may not yet be complete: see [gdk.frame_timings.FrameTimings.getComplete].

Parameters

frameCounterthe frame counter value identifying the frame to be received.

Returns

the #GdkFrameTimings object for

the specified frame, or null if it is not available. See [gdk.frame_clock.FrameClock.getHistoryStart].