<!--
{
  "documentType" : "article",
  "framework" : "CoreVideo",
  "identifier" : "/documentation/CoreVideo/cvtime-q1e",
  "metadataVersion" : "0.1.0",
  "role" : "collectionGroup",
  "title" : "CVTime"
}
-->

# CVTime

A structure used for storing Core Video time values.

## Discussion

Core video uses the [`CVTime`](/documentation/CoreVideo/CVTime) and [`CVTimeStamp`](/documentation/CoreVideo/CVTimeStamp) structures for storing Core Video time values. You use them to interact with the Core Video display link.

## Topics

### Inspecting the Host Clock

[`func CVGetCurrentHostTime() -> UInt64`](/documentation/CoreVideo/CVGetCurrentHostTime())

Returns the current system time.

[`func CVGetHostClockFrequency() -> Double`](/documentation/CoreVideo/CVGetHostClockFrequency())

Returns the frequency of updates to the system time.

[`func CVGetHostClockMinimumTimeDelta() -> UInt32`](/documentation/CoreVideo/CVGetHostClockMinimumTimeDelta())

Returns the smallest possible increment in the system time.

### Data Types

[`struct CVTime`](/documentation/CoreVideo/CVTime)

A structure for reporting Core Video time values.

[CVTimeStamp](/documentation/CoreVideo/cvtimestamp-api)

A structure for representing a display timestamp.

[`struct CVSMPTETime`](/documentation/CoreVideo/CVSMPTETime)

A structure for holding an SMPTE time.

### Constants

[CVTime Values](/documentation/CoreVideo/cvtime-values)

Keys that represent Core Video time values.

### Enumerations

[`enum CVSMPTETimeType`](/documentation/CoreVideo/CVSMPTETimeType)

[`struct CVSMPTETimeFlags`](/documentation/CoreVideo/CVSMPTETimeFlags)

[`struct CVTimeFlags`](/documentation/CoreVideo/CVTimeFlags)

[`struct CVTimeStampFlags`](/documentation/CoreVideo/CVTimeStampFlags)

## See Also

  [Core Video Programming Guide](https://developer.apple.com/library/archive/documentation/GraphicsImaging/Conceptual/CoreVideo/CVProg_Intro/CVProg_Intro.html#//apple_ref/doc/uid/TP40001536)



---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)