Files
chrony/test/simulation
Miroslav Lichvar 12237bf283 refclock: stop requiring 4 samples in median filter
Reduce the minimum number of samples required by the filter from
min(4, length) to 1.

This makes the filtering less confusing. The sample lifetime is limited
to one poll and the default filtering of the SOCK refclock (where the
maximum number of samples per poll is unknown) is identical to the other
refclocks.

A concern with potential variability in number of samples per poll below
4 is switching between different calculations of dispersion in
combine_selected_samples() in samplefilt.c.

The 106-refclock test shows how the order of refclocks in the config can
impact the first filtered sample and selection. If the PPS refclock
follows SHM, a single low-quality PPS sample is accepted in the same
poll where SHM is selected and the initial clock correction started,
which causes larger skew later and delays the first selection of the PPS
refclock.
2024-11-05 16:03:40 +01:00
..
2024-08-29 09:37:50 +02:00
2024-06-04 16:25:55 +02:00
2021-04-22 10:20:31 +02:00
2022-05-19 08:23:05 +02:00
2023-06-15 14:23:47 +02:00
2021-04-15 15:17:13 +02:00
2024-06-20 15:10:42 +02:00
2021-09-23 14:48:59 +02:00
2023-04-13 16:22:50 +02:00
2023-04-18 11:39:27 +02:00
2016-02-05 15:20:40 +01:00
2021-03-04 12:36:36 +01:00

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.