gdk.frame_timings
Module for [FrameTimings] class
class FrameTimings
Types 1
classFrameTimings : gobject.boxed.Boxed
A gdk.frame_timings.FrameTimings object holds timing information for a single frame of the application’s displays.
To retrieve gdk.frame_timings.FrameTimings objects, use gdk.frame_clock.FrameClock.getTimings or gdk.frame_clock.FrameClock.getCurrentTimings. The information in gdk.frame_timings.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.
Methods
long getFrameCounter() nothrowGets the frame counter value of the [gdk.frame_clock.FrameClock] when this frame was drawn. Returns: the frame counter value for this framelong getPredictedPresentationTime() nothrowGets the predicted time at which this frame will be displayed.long getRefreshInterval() nothrowGets the natural interval between presentation times for the display that this frame was displayed on.