ntp: add options to set minsamples/maxsamples of hwclock

This commit is contained in:
Miroslav Lichvar
2018-08-08 14:03:35 +02:00
parent c0717a27f6
commit afff06c88c
4 changed files with 19 additions and 3 deletions

View File

@@ -1945,6 +1945,12 @@ It's defined as a power of two. It should correspond to the minimum polling
interval of all NTP sources and the minimum expected polling interval of NTP
clients. The default value is 0 (1 second) and the minimum value is -6 (1/64th
of a second).
*minsamples* _samples_:::
This option specifies the minimum number of readings kept for tracking of the
NIC clock. The default value is 2.
*maxsamples* _samples_:::
This option specifies the maximum number of readings kept for tracking of the
NIC clock. The default value is 16.
*precision* _precision_:::
This option specifies the assumed precision of reading of the NIC clock. The
default value is 100e-9 (100 nanoseconds).