### Struct

# Gdk FrameTimings

#### Description [src]

    struct GdkFrameTimings {
      /* No available fields */
    }

Holds timing information for a single frame of the application’s displays.

To retrieve `GdkFrameTimings` objects, use `gdk_frame_clock_get_timings()` or `gdk_frame_clock_get_current_timings()`. The information in `GdkFrameTimings` is useful for precise synchronization of video with the event or audio streams, and for measuring quality metrics for the application’s display, such as latency and jitter.

#### Instance methods

###### gdk_frame_timings_get_complete

Returns whether `timings` are complete.

###### gdk_frame_timings_get_frame_counter

Gets the frame counter value of the `GdkFrameClock` when this frame was drawn.

###### gdk_frame_timings_get_frame_time

Returns the frame time for the frame.

###### gdk_frame_timings_get_predicted_presentation_time

Gets the predicted time at which this frame will be displayed.

###### gdk_frame_timings_get_presentation_time

Reurns the presentation time.

###### gdk_frame_timings_get_refresh_interval

Gets the natural interval between presentation times for the display that this frame was displayed on.

###### gdk_frame_timings_ref

Increases the reference count of `timings`.

###### gdk_frame_timings_unref

Decreases the reference count of `timings`.