Windows Time Client
3.2.2 System Variables
System Variables
|
Name
|
Procedure
|
Leap Indicator
|
sys.leap
|
clock update
|
Stratum
|
sys.stratum
|
clock update
|
Precision
|
sys.precision
|
system
|
Root Delay
|
sys.rootdelay
|
clock update
|
Root Dispersion
|
sys.rootdispersion
|
clock update
|
Reference Clock Ident
|
sys.refid
|
clock update
|
Reference Timestamp
|
sys.reftime
|
clock update
|
Local Clock
|
sys.clock
|
clock update
|
Clock Source
|
sys.peer
|
selection
|
Poll Interval
|
sys.poll
|
local clock
|
Cryptographic Keys
|
sys.keys
|
authentication
|
Table 1. System Variables
Table 1 shows the complete set of system variables. In addition to the common variables described previously, the following variables are used by the operating system in order to synchronize the local clock.
Local Clock (sys.clock): This is the current local time, in timestamp format. Local time is derived from the hardware clock of the particular machine and increments at intervals depending on the design used. An
appropriate design, including slewing and skew-Compensation mechanisms, is described in Section 5.
Clock Source (sys.peer): This is a selector identifying the current synchronization source. Usually this will be a pointer to a structure containing the peer variables. The special value NULL indicates there is
no currently valid synchronization source.