[ CCode ( ref_function = "gdk_frame_timings_ref" , type_id = "gdk_frame_timings_get_type ()" , unref_function = "gdk_frame_timings_unref" ) ]
[ Compact ]
public class FrameTimings
A FrameTimings object holds timing information for a single frame of the application’s displays.
To retrieve FrameTimings objects, use get_timings
or get_current_timings. The information in
FrameTimings 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.
- public unowned FrameTimings @ref ()
Increases the reference count of this.
- public bool get_complete ()
The timing information in a FrameTimings is
filled in incrementally as the frame as drawn and passed off to the window system for processing and display to the user.
- public int64 get_frame_counter ()
Gets the frame counter value of the
FrameClock when this this frame was drawn.
- public int64 get_frame_time ()
Returns the frame time for the frame.
- public int64 get_predicted_presentation_time ()
Gets the predicted time at which this frame will be displayed.
- public int64 get_presentation_time ()
Reurns the presentation time.
- public int64 get_refresh_interval ()
Gets the natural interval between presentation times for the display that
this frame was displayed on.
- public void unref ()
Decreases the reference count of this.