ADTF
Clock Synchronization Service Plugin

Clock Synchronization Service

Introduction

The Clock Synchronization Service is a Service to provide an RPC Interface to synchronize the local clock with that of a remote system.

Plugin Information
Plugin Filenameadtf_clock_synchronization.adtfplugin
Plugin Descriptionadtf_clock_synchronization.plugindescription
Plugin NameClock Synchronization Service Plugin
LicenseADTF
Support Mailsupport@digitalwerk.net
Homepage URLsupport.digitalwerk.net
Plugin Versions
Plugin Version3.99.99
Plugin File Version1.0
adtf3.99.99
adtf::ucom3.1.0
Component Information
NameClock Synchronization Service
CIDclock_synchronization.service.adtf.cid
DescriptionUse this System Service to extend the ADTF System with a RPC Interface to synchronize the local clock with that of a remote system.
TypeService
Default Runlevelsystem
Properties
NameValueTypeDescriptionSubproperties
synchronization_debug_log_filecFilenameIf set, an optional log file including timestamps of the synchronized clocks will be written at the specified location.
synchronization_interval5000000tUInt64The interval in microseconds at which the clock is resynchronized.
synchronization_reference_urlcStringThe URL of RPC Server Object where the reference clock can be queried.
Required Interfaces
IID
reference_clock.riddler.streaming.adtf.iid

Clock Synchronization Concept

It provides the "adtf_synchronized" clock via the Reference Clock Service. This clock is synchronized with that of another ADTF system. Its uses Christians algorithm to calculate the offset and communication delay. The time is interpolated between the synchronization instants with the help of the system clock. If the interpolated time advances faster than the reference time, then it is stalled until the reference time has catched up, when sychronization is performed again.