Time Datatypes

OcaMediaClockAvailability

enum OcaMediaClockAvailability : uint8_t

Availability states of a Media Clock

enumerator Unavailable = 0

Media Clock is unavailable.

enumerator Available = 1

Media Clock is available.

OcaMediaClockRate

struct OcaMediaClockRate

Media Clock nominal rate and associated parameters.

OcaFrequency NominalRate

Nominal clock rate, in hertz.

OcaFrequency PullRange

Pull range in hertz. Not all clock types will specify this. Use IEEE NaN for an unspecified value (OcaFrequency is IEEE floating-point).

OcaFloat32 Accuracy

Accuracy in ppm. Not all clock types will specify this. Use IEEE NaN for an unspecified value.

OcaFloat32 JitterMax

Maximum jitter in ppm. Not all clock types will specify this. Use IEEE NaN foran unspecified value.

OcaTimeMode

enum OcaTimeMode : uint8_t

Time mode of OcaTask agent.

enumerator Absolute = 1

OcaRamper or OcaTask time mode is absolute.

enumerator Relative = 2

OcaRamper or OcaTask time mode is relative.

OcaTime

struct OcaTime

Absolute or relative time. Time values in PTP presentation format with added sign. - 48 bit integer seconds - 32 bit integer nanoseconds - boolean sign (positive=TRUE) field. Absolute times are always positive. Relative times may be positive or negative.

OcaBoolean Negative

TRUE if and only if time value is negative. Absolute times are always positive.

OcaUint64 Seconds

64-bit integer whose value shall not exceed that of an unsigned 48 bit integer.

OcaUint32 Nanoseconds

32 bits of nanoseconds

OcaTimeInterval

using OcaTimeInterval = OcaFloat32

Time interval in seconds.