ADTF
Reference Clock Service Plugin
Introduction

The Clock Service is a Service to provide system wide reference clocks.

Reference Clock Service

Plugin Information
Plugin Filenameadtf_clock.adtfplugin
Plugin Descriptionadtf_clock.plugindescription
Plugin NameReference Clock 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
NameReference Clock Service
CIDreference_clock.service.adtf.cid
DescriptionUse this System Service to extend the ADTF System with a system wide reference clock.
TypeService
Default Runlevelsystem
Properties
NameValueTypeDescriptionSubproperties
control_simulation_clocksfalsetBoolIf enabled, then the current simulation clock used as stream clock, will be started and stopped upon runlevel changes.
default_sync2ref_methodadtf_defaultcStringSynchronization algorithm used mapping non-system timestamps (e.g. from remote devices) to ADTF Streamtime for Sample timestamps.Extendable Value List:
adtf_default = adtf_default
local_time_stringstruetBoolIf enabled timestamp strings will be interpreted/generated with respect to the local timezone.
simulation_clock/endcStringThe stop time of the simulation clock as a UTC timestamp (i.e. '1970-01-01T00:00:00'). This is only used when 'control_simulation_clocks' is activated.
simulation_clock/speed1.000000tFloat64The speed at which the simulation clock advances relative to the wall clock. A value of zero indicates maximum speed. This is only used when 'control_simulation_clocks' is activated.
simulation_clock/start1970-01-01T00:00:00cStringThe start time of the simulation clock as a UTC timestamp (i.e. '1970-01-01T00:00:00'). When empty, the clock is not reset. This is only used when 'control_simulation_clocks' is activated.
simulation_clock/system_clockfalsetBoolWhether or not the simulation clock should advertise itself as system clock or not. This is only used when 'control_simulation_clocks' is activated.
simulation_clock/try_realtime_simulationtruetBoolIf this property is true, the hardware clock of the host will be used to determine when the time should advance. Otherwise the clock will simply sleep for the time difference between the time barriers. This is usefull when using a debugger. This is only used when 'control_simulation_clocks' is activated.
stream_clocksystemcStringRegistered clock which will be used to provide the ADTF Streamtime.Extendable Value List:
adtf_stream = adtf_stream
system = system
discrete_simulation = discrete_simulation
continuous_simulation = continuous_simulation
time_guard_compatibility_mode0tUInt32Compatibility mode for stream clocks that do not support time guardsValue List:
continuous clock = 0
discrete clock = 1
time_stamp_epoch1970-01-01T00:00:00cStringThe epoch used for converting timestamps.
Provided Interfaces
IID
reference_clock.ant.streaming.adtf.iid
reference_clock.flash.streaming.adtf.iid
reference_clock.giant.streaming.adtf.iid
reference_clock.osborn.streaming.adtf.iid
reference_clock.penguin.streaming.adtf.iid
reference_clock.riddler.streaming.adtf.iid

Clock Concept

Please have a look at Clock Concept.