]> git.ipfire.org Git - thirdparty/chrony.git/commit
hwclock: refactor processing of PHC readings
authorMiroslav Lichvar <mlichvar@redhat.com>
Tue, 7 Jun 2022 13:03:14 +0000 (15:03 +0200)
committerMiroslav Lichvar <mlichvar@redhat.com>
Thu, 9 Jun 2022 10:04:20 +0000 (12:04 +0200)
commit09b7f77f9a61a3906ad621737ecafd429fe64a99
treed307da91faf273d54f2af4b869b13e12fbd9ce05
parentc23c0b84841e2710a8cd04746ef8cc3a0697903c
hwclock: refactor processing of PHC readings

Move processing of PHC readings from sys_linux to hwclock, where
statistics can be collected and filtering improved.

In the PHC refclock driver accumulate the samples even if not in the
external timestamping mode to update the context which will be needed
for improved filtering.
hwclock.c
hwclock.h
ntp_io_linux.c
refclock_phc.c
sys_linux.c
sys_linux.h
test/unit/hwclock.c