FrameTimings

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.

Members

Functions

getComplete
bool getComplete()

Returns whether timings are complete.

getFrameCounter
long getFrameCounter()

Gets the frame counter value of the gdk.frame_clock.FrameClock when this frame was drawn.

getFrameTime
long getFrameTime()

Returns the frame time for the frame.

getPredictedPresentationTime
long getPredictedPresentationTime()

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

getPresentationTime
long getPresentationTime()

Reurns the presentation time.

getRefreshInterval
long getRefreshInterval()

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

Inherited Members

From Boxed

cInstancePtr
void* cInstancePtr;

Pointer to the C boxed value

getType
GType getType()

Get the GType of this boxed type.

gType
GType gType [@property getter]

Boxed GType property.

self
Boxed self()

Convenience method to return this cast to a type. For use in D with statements.

copy_
void* copy_()

Make a copy of the wrapped C boxed data.

boxedCopy
void* boxedCopy(void* cBoxed)

Copy a C boxed value using g_boxed_copy.

boxedFree
void boxedFree(void* cBoxed)

Free a C boxed value using g_boxed_free.