ADTF  3.14.3
Clock Concept

Table of Contents

Motivation

In order to supply a common clock for all ADTF Components, ADTF delivers a Reference Clock Service. This Service provides a distinct method for getting the current timestamp, no matter if the ADTF System is running in Online Mode (Live) or Offline Mode (Playback). It allows the registration of many different time sources, that can either be used as main ADTF time source or be recorded for a simulation during playback and referenced to the main timestamp. The user can configure which time source is used at a single place, without the need for recompilation of any ADTF components. The Service also extends the ADTF System with a mechanism to register and use synchronization algorithms for hardware timestamp conversions, that take clock drift and offset into account, in order to offer the best possible timestamps in the time domain of the main ADTF clock. This prevents the use of hardcoded solutions and allows changes during configuration. For more information have a look at Clock Synchronization Service and adtf::services::ant::IReferenceClock::ISync2RefChannel.

Note
In Offline Mode (Playback) the Playback Service will register itself as the time source for the ADTF Stream Time at the Reference Clock Service.

Usage

The functionality is available via the adtf::services::ant::IReferenceClock.


Copyright © Audi Electronics Venture GmbH. All rights reserved. (Generated on Thu Jun 9 2022 by doxygen 1.9.1)