From: Dave Hart Date: Fri, 12 Jun 2009 21:05:42 +0000 (+0000) Subject: document Windows-specific ntpd options -M, --pccfreq, --usepcc X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=181a1cfcfa2ece1fbb05b8da5967f891cf3ae77a;p=thirdparty%2Fntp.git document Windows-specific ntpd options -M, --pccfreq, --usepcc bk: 4a32c326S_jE5OhIqu99X3EBSmrnGg --- diff --git a/html/ntpd.html b/html/ntpd.html index d8f3a7456c..bec716bf78 100644 --- a/html/ntpd.html +++ b/html/ntpd.html @@ -109,6 +109,8 @@
Specify the name and path of the symmetric key file, default /etc/ntp.keys. This is the same operation as the keys keyfile command.
-l logfile
Specify the name and path of the log file. The default is the system log file. This is the same operation as the logfile logfile command.
-L
Do not listen to virtual IPs. The default is to listen. +
-M +
Raise scheduler precision to its maximum (1 msec) using timeBeginPeriod.  (Windows only)
-n
Don't fork.
-N @@ -130,6 +132,10 @@
Add a system variable listed by default.
-x
Normally, the time is slewed if the offset is less than the step threshold, which is 128 ms by default, and stepped if above the threshold. This option sets the threshold to 600 s, which is well within the accuracy window to set the clock manually. Note: Since the slew rate of typical Unix kernels is limited to 0.5 ms/s, each second of adjustment requires an amortization interval of 2000 s. Thus, an adjustment as much as 600 s will take almost 14 days to complete. This option can be used with the -g and -q options. See the tinker command for other options. Note: The kernel time discipline is disabled with this option. +
--pccfreq frequency +
Substitute processor cycle counter for QueryPerformanceCounter unconditionally using the given frequency (in Hz).  --pccfreq can be used on systems which do not use the PCC to implement QueryPerformanceCounter and have a fixed PCC frequency.  The frequency specified must be accurate within 0.5 percent.  --usepcc is equivalent on many systems and should be tried first, as it does not require determining the frequency of the processor cycle counter.  For x86-compatible processors, the PCC is also referred to as RDTSC, which is the assembly-language instruction to retrieve the current value.  (Windows only) +
--usepcc +
Substitute processor cycle counter for QueryPerformanceCounter if they appear equivalent.  This option should be used only if the PCC frequency is fixed.  Power-saving functionality on many laptops varies the PCC frequency.  (Windows only)

The Configuration File

Ordinarily, ntpd reads the ntp.conf configuration file at startup in order to determine the synchronization sources and operating modes. It is also possible to specify a working, although limited, configuration entirely on the command line, obviating the need for a configuration file. This may be particularly useful when the local host is to be configured as a broadcast client, with servers determined by listening to broadcasts at run time.