chrony/test
Miroslav Lichvar bc33e1cda1 clientlog: undo clock adjustments in updated TX timestamps
When the server clock was updated between saving of the RX timestamp and
updating the TX timestamp, a client using interleaved mode with the four
timestamps which minimize error in measured delay (e.g. chrony) had the
server clock adjustment included in the measured delay, which could
disrupt the sample filtering and weighting.

Add a handler to track the slew epoch and remember the last offset. Undo
the adjustment in TX timestamps which have their RX timestamp in the
previous epoch to fix the delay observed by the clients.

If an unknown clock step is detected, drop all timestamps.
2021-10-27 16:22:12 +02:00
..
compilation test: fix chronyc test with disabled IPv6 support 2021-09-23 14:48:59 +02:00
kernel test: extend frequency in ntp_adjtime() test 2020-08-31 10:17:21 +02:00
simulation cmdmon: add interleaved stats to serverstats 2021-10-21 17:04:51 +02:00
system cmdmon: add interleaved stats to serverstats 2021-10-21 17:04:51 +02:00
unit clientlog: undo clock adjustments in updated TX timestamps 2021-10-27 16:22:12 +02:00