Use REF_GetReferenceParams() in the tracking command to simplify the code and report the same values as what NTP clients of the server see. When the local reference mode is active, this changes the leap status to synchronised and reference time to one second behind current time. When not synchronised, the root delay and root dispersion are now 1 second. |
||
---|---|---|
.. | ||
001-defaults | ||
002-largenetwork | ||
003-largefreqoffset | ||
004-largetimeoffset | ||
005-externalstep | ||
006-largejitter | ||
007-largewander | ||
008-ntpera | ||
009-sourceselection | ||
101-poll | ||
102-iburst | ||
103-initstepslew | ||
104-driftfile | ||
105-ntpauth | ||
106-refclock | ||
107-allowdeny | ||
108-peer | ||
109-makestep | ||
110-chronyc | ||
111-knownclient | ||
112-port | ||
113-leapsecond | ||
114-presend | ||
115-cmdmontime | ||
116-minsources | ||
117-fallbackdrift | ||
118-maxdelay | ||
119-smoothtime | ||
120-selectoptions | ||
121-orphan | ||
201-freqaccumulation | ||
202-prefer | ||
README | ||
run | ||
test.common |
This is a collection of simulation tests using the clknetsim simulator (supported on Linux only). https://github.com/mlichvar/clknetsim The CLKNETSIM_PATH environment variable should point to the directory where clknetsim was downloaded and compiled. If the variable is not set, the tests will look for clknetsim in ./clknetsim in the current directory. The tests are written in bash and they can be run directly. The ./run script runs all tests.