Tracking time
QNX SDP8.0System ArchitectureDeveloperUser
To keep QNX OS clocks on track, you have the following options:
ClockAdjust()
In order to facilitate applying time corrections to CLOCK_REALTIME without
having the system experience abrupt steps
in
time (or even having time jump backwards), the
ClockAdjust()
call provides the option to specify
an interval over which the time correction is to be applied.
This has the effect of speeding or retarding time over a
specified interval until the system has synchronized to the
indicated current time. This service can be used to
implement network-coordinated time averaging between
multiple nodes on a network.
Page updated: