Contents

CVDisplayLinkGetActualOutputVideoRefreshPeriod(_:)

Retrieves the actual output refresh period of a display as measured by the system time.

Declaration

func CVDisplayLinkGetActualOutputVideoRefreshPeriod(_ displayLink: CVDisplayLink) -> Double

Parameters

  • displayLink:

    The display link to get the refresh period from.

Return Value

A double-precision floating-point value representing the actual refresh period in seconds. This value may be zero if the device is not running or is otherwise unavailable.

Discussion

This call returns the actual output refresh period computed relative to the system time (as measured using the CVGetCurrentHostTime() function).

See Also

Inspecting Display Links