This is an automated email from git. It was generated because a ref change was pushed to the "chrony/chrony.git" repository.
The branch, master has been updated via 3196630fb9ae06f5199a9705d450a439d0b4af18 (commit) via 663dde1ad70107a024a8fe440867f4b6ff063259 (commit) via 62757cda4920097e6f82a18579f3a9ee65409884 (commit) via af6ae9186b8d2aad14c7d4bd974ee1676b9af422 (commit) via 4c29f8888c767b4438b62c55ece1ae36e85daea9 (commit) via d06ae4a60e2856b30ee32321e9d99b231c83af3e (commit) via f9af2f97339e219d6cf3a26291f82047705aa529 (commit) via 43ae0131cdcb76b048922cbd557582ef2cbb65eb (commit) from 8bb8f15a7d049ed26c69d95087065b381f76ec4d (commit) Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below. - Log ----------------------------------------------------------------- commit 3196630fb9ae06f5199a9705d450a439d0b4af18 Author: Miroslav Lichvar <mlich...@redhat.com> Date: Wed Feb 23 11:31:24 2022 +0100 sys_linux: don't require configurable pin for external PPS Some PHCs that have a PPS input don't have configurable pins (their function is hardcoded). Accept a negative pin index to skip the pin configuration before requesting external timestamping. commit 663dde1ad70107a024a8fe440867f4b6ff063259 Author: Miroslav Lichvar <mlich...@redhat.com> Date: Wed Feb 23 10:23:18 2022 +0100 refclock: improve precision with large offset If a SHM or PHC refclock has a very large offset compensated by the offset option, or ignored with the pps or local option, there is a persistent loss of precision in the calculation of the sample offset using the double format. Rework the code to delay the calculation of the accumulated offset to include the specificed compensation and remaining correction of the system clock, where the calculation can be split to improve the precision. In the pps mode ignore integer seconds competely. The precision of the SOCK refclock is now limited to 1 nanosecond due to the extra double->timespec->double conversion. commit 62757cda4920097e6f82a18579f3a9ee65409884 Author: Miroslav Lichvar <mlich...@redhat.com> Date: Tue Feb 22 11:24:00 2022 +0100 refclock: add local option Add "local" option to specify that the reference clock is an unsynchronized clock which is more stable than the system clock (e.g. TCXO, OCXO, or atomic clock) and it should be used as a local standard to stabilize the system clock. Handle the local refclock as a PPS refclock locked to itself which gives the unsynchronized status to be ignored in the source selection. Wait for the refclock to get at least minsamples samples and adjust the clock directly to follow changes in the refclock's sourcestats frequency and offset. There should be at most one refclock specified with this option. commit af6ae9186b8d2aad14c7d4bd974ee1676b9af422 Author: Miroslav Lichvar <mlich...@redhat.com> Date: Tue Feb 22 11:00:27 2022 +0100 reference: allow clock adjustments without updating reference Add support for accumulating frequency and time offset without changing the reference parameters and calling the local parameter change handlers. This will allow an unsynchronized source to operate below other sources in order to stabilize the clock. commit 4c29f8888c767b4438b62c55ece1ae36e85daea9 Author: Miroslav Lichvar <mlich...@redhat.com> Date: Mon Feb 14 10:55:22 2022 +0100 sources: handle unsynchronized sources in selection Allow sources to accumulate samples with the leap status set to not synchronized. Define a new state for them to be ignored in the selection. This is intended for sources that are never synchronized and will be used only for stabilization. commit d06ae4a60e2856b30ee32321e9d99b231c83af3e Author: Miroslav Lichvar <mlich...@redhat.com> Date: Thu Feb 10 16:38:50 2022 +0100 sourcestats: add function to get minsamples commit f9af2f97339e219d6cf3a26291f82047705aa529 Author: Miroslav Lichvar <mlich...@redhat.com> Date: Thu Feb 10 15:24:25 2022 +0100 sourcestats: clamp minsamples and maxsamples in initialization Don't leave the variables set to values outside their effective range. This has no functional impact, but makes it clear what is the precedence of the two settings. commit 43ae0131cdcb76b048922cbd557582ef2cbb65eb Author: Miroslav Lichvar <mlich...@redhat.com> Date: Thu Feb 10 15:16:08 2022 +0100 sourcestats: use constant for required number of samples ----------------------------------------------------------------------- Summary of changes: client.c | 12 +++--- conf.c | 7 +++- doc/chrony.conf.adoc | 13 +++++- doc/chronyc.adoc | 1 + local.c | 18 +++++++++ local.h | 5 +++ refclock.c | 95 +++++++++++++++++++++++++++++++++++++++----- refclock.h | 4 +- refclock_phc.c | 9 ++--- refclock_shm.c | 4 +- refclock_sock.c | 15 ++++--- reference.c | 67 +++++++++++++++++++++++-------- reference.h | 4 ++ sources.c | 9 +++++ sourcestats.c | 17 ++++++-- sourcestats.h | 2 + sys_linux.c | 2 +- test/simulation/106-refclock | 27 +++++++++++++ test/unit/sources.c | 2 + 19 files changed, 259 insertions(+), 54 deletions(-) hooks/post-receive -- chrony/chrony.git -- To unsubscribe email chrony-dev-requ...@chrony.tuxfamily.org with "unsubscribe" in the subject. For help email chrony-dev-requ...@chrony.tuxfamily.org with "help" in the subject. Trouble? Email listmas...@chrony.tuxfamily.org.