Method

Gdk.FrameClock.get_timings

Declaration [src]

GdkFrameTimings*
gdk_frame_clock_get_timings (
  GdkFrameClock* frame_clock,
  gint64 frame_counter
)

Description [src]

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_get_complete().

Parameters

frame_counter gint64
 

the frame counter value identifying the frame to be received

Return value

Returns: GdkFrameTimings

the GdkFrameTimings object for the specified frame, or NULL if it is not available. See gdk_frame_clock_get_history_start().

Ownership is not transferred to the caller
Can be NULL