client: print tracking delay/dispersion in nanosecond resolution
This commit is contained in:
parent
c174566982
commit
2ac1b3d5c4
2 changed files with 11 additions and 14 deletions
4
client.c
4
client.c
|
@ -2215,8 +2215,8 @@ process_cmd_tracking(char *line)
|
||||||
"Frequency : %.3F\n"
|
"Frequency : %.3F\n"
|
||||||
"Residual freq : %+.3f ppm\n"
|
"Residual freq : %+.3f ppm\n"
|
||||||
"Skew : %.3f ppm\n"
|
"Skew : %.3f ppm\n"
|
||||||
"Root delay : %.6f seconds\n"
|
"Root delay : %.9f seconds\n"
|
||||||
"Root dispersion : %.6f seconds\n"
|
"Root dispersion : %.9f seconds\n"
|
||||||
"Update interval : %.1f seconds\n"
|
"Update interval : %.1f seconds\n"
|
||||||
"Leap status : %L\n",
|
"Leap status : %L\n",
|
||||||
(unsigned long)ref_id, name,
|
(unsigned long)ref_id, name,
|
||||||
|
|
|
@ -130,15 +130,15 @@ performance. An example of the output is shown below.
|
||||||
----
|
----
|
||||||
Reference ID : CB00710F (foo.example.net)
|
Reference ID : CB00710F (foo.example.net)
|
||||||
Stratum : 3
|
Stratum : 3
|
||||||
Ref time (UTC) : Fri Feb 3 15:00:29 2012
|
Ref time (UTC) : Fri Jan 27 09:49:17 2017
|
||||||
System time : 0.000001501 seconds slow of NTP time
|
System time : 0.000006523 seconds slow of NTP time
|
||||||
Last offset : -0.000001632 seconds
|
Last offset : -0.000006747 seconds
|
||||||
RMS offset : 0.000002360 seconds
|
RMS offset : 0.000035822 seconds
|
||||||
Frequency : 331.898 ppm fast
|
Frequency : 3.225 ppm slow
|
||||||
Residual freq : 0.004 ppm
|
Residual freq : -0.000 ppm
|
||||||
Skew : 0.154 ppm
|
Skew : 0.129 ppm
|
||||||
Root delay : 0.373169 seconds
|
Root delay : 0.013639022 seconds
|
||||||
Root dispersion : 0.024780 seconds
|
Root dispersion : 0.001100737 seconds
|
||||||
Update interval : 64.2 seconds
|
Update interval : 64.2 seconds
|
||||||
Leap status : Normal
|
Leap status : Normal
|
||||||
----
|
----
|
||||||
|
@ -187,9 +187,6 @@ The '`frequency`' is the rate by which the system's clock would be wrong if
|
||||||
For example, a value of 1 ppm would mean that when the system's clock thinks it
|
For example, a value of 1 ppm would mean that when the system's clock thinks it
|
||||||
has advanced 1 second, it has actually advanced by 1.000001 seconds relative to
|
has advanced 1 second, it has actually advanced by 1.000001 seconds relative to
|
||||||
true time.
|
true time.
|
||||||
+
|
|
||||||
As you can see in the example, the clock in the computer is not a very
|
|
||||||
good one; it would gain about 30 seconds per day if it was not corrected!
|
|
||||||
*Residual freq*:::
|
*Residual freq*:::
|
||||||
This shows the '`residual frequency`' for the currently selected reference
|
This shows the '`residual frequency`' for the currently selected reference
|
||||||
source. This reflects any difference between what the measurements from the
|
source. This reflects any difference between what the measurements from the
|
||||||
|
|
Loading…
Reference in a new issue