]> git.ipfire.org Git - thirdparty/chrony.git/commit
ntp: rework calculation and testing of peer delay
authorMiroslav Lichvar <mlichvar@redhat.com>
Mon, 5 Dec 2016 12:26:58 +0000 (13:26 +0100)
committerMiroslav Lichvar <mlichvar@redhat.com>
Tue, 6 Dec 2016 15:56:38 +0000 (16:56 +0100)
commit23a4e8b38d873ce1246c4ef43a05d92c442a9f26
tree8e27d207cfb530314cee2ba0d63d7578ae2ebffe
parent979b53866d3a4fd82de68d6a052ebb6a7e90e187
ntp: rework calculation and testing of peer delay

Instead of a worst-case delay use a mean value and relate it to the
source's time. This makes it more stable in the interleaved and
symmetric modes, which should improve the weighting and asymmetry
correction. Modify the test A and B to work with a minimum estimated
delay (delay - dispersion).
ntp_core.c