Zephyr API Documentation 3.7.99
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
timeutil_sync_instant Struct Reference

Representation of an instant in two time scales. More...

#include <timeutil.h>

Data Fields

uint64_t ref
 An instant in the reference time scale.
 
uint64_t local
 The corresponding instance in the local time scale.
 

Detailed Description

Representation of an instant in two time scales.

Capturing the same instant in two time scales provides a registration point that can be used to convert between those time scales.

Field Documentation

◆ local

uint64_t timeutil_sync_instant::local

The corresponding instance in the local time scale.

This may be zero in a valid timeutil_sync_instant object.

◆ ref

uint64_t timeutil_sync_instant::ref

An instant in the reference time scale.

This must never be zero in an initialized timeutil_sync_instant object.


The documentation for this struct was generated from the following file: