Gdk.FrameTimings
Description: Reference for Gdk.FrameTimings

### Struct

# GdkFrameTimings

since: 4.0

#### Description [src]

    struct GdkFrameTimings {
      /* No available fields */
    }

A `GdkFrameTimings` object 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.

Available since: 4.0

#### Instance methods

###### gdk_frame_timings_get_complete

Returns whether `timings` are complete.

since: 4.0

###### gdk_frame_timings_get_frame_counter

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

since: 4.0

###### gdk_frame_timings_get_frame_time

Returns the frame time for the frame.

since: 4.0

###### gdk_frame_timings_get_predicted_presentation_time

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

since: 4.0

###### gdk_frame_timings_get_presentation_time

Reurns the presentation time.

since: 4.0

###### gdk_frame_timings_get_refresh_interval

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

since: 4.0

###### gdk_frame_timings_ref

Increases the reference count of `timings`.

since: 4.0

###### gdk_frame_timings_unref

Decreases the reference count of `timings`.

since: 4.0