[Git][NTPsec/ntpsec][master] Units ground truth document

Eric S. Raymond gitlab at mg.gitlab.com
Tue Apr 4 21:07:02 UTC 2017


Eric S. Raymond pushed to branch master at NTPsec / ntpsec


Commits:
7c7cee0a by Ian Bruene at 2017-04-04T21:06:54+00:00
Units ground truth document

- - - - -


1 changed file:

- devel/units.txt


Changes:

=====================================
devel/units.txt
=====================================
--- a/devel/units.txt
+++ b/devel/units.txt
@@ -1,4 +1,42 @@
-This document is a list of the important time variables and what units they represent in various areas throughout the program.
+This document is a one stop shop of the important time variables and what
+units they represent in various areas throughout the program.
+
+Important note: This document is very incomplete, and may have the same
+variable listed more than once. Categorization is haphazard as well.
+
+Outstanding general questions:
+
+* Are all seconds-per-second units the same thing as parts-per-million?
+* How many of these are just different names for the same value?
+
+# The following were harvested from ntpd.h
+
+ntp_loopfilter.c
+
+Name            | internal  | Comment
+=============================================
+drift_comp      | seconds/s | clock frequency
+clock_stability | seconds/s |
+clock_max_back  | seconds   | max backward offset before step
+clock_max_fwd   | seconds   | max forward offset before step
+clock_panic     | seconds   | max offset before panic
+clock_phi       | seconds/s | dispersion rate (this is jitter, right?)
+clock_minstep   | seconds   | step timeout
+
+Clock state machine variables
+
+Name         | internal     | Comment
+========================================
+sys_poll     | log2 seconds | system poll interval
+last_time    | seconds      | time of last clock update
+last_offset  | seconds      | last clock offset
+allan_xpt    | log2 seconds | Allan intercept
+clock_jitter | seconds      |
+cyc_offset   | seconds      |
+sys_jitter   | seconds      |
+
+
+# The following were harvested from ntp_control.c
 
 System Variables
 
@@ -12,8 +50,8 @@ offset                | seconds   | milliseconds
 frequency (aka drift) | seconds/s | microseconds/s (aka ppm)
 sys_jitter            | seconds   | milliseconds
 clk_jitter            | seconds   | milliseconds
-clk_wander            | seconds/s | microseconds/s (probably ppm)
-leapsmearinterval     | seconds   | seconds
+clk_wander            | seconds/s | microseconds/s
+leapsmearinterval     | UNKNOWN   | UNKNOWN
 leapsmearoffset       | seconds   | milliseconds
 mintc (aka CR_RATE)   | UNKNOWN   | UNKNOWN
 authdelay             | seconds   | milliseconds
@@ -23,7 +61,7 @@ kesterr               | seconds   | milliseconds
 kprecis               | seconds   | milliseconds
 kppsjitter            | seconds   | milliseconds
 fuzz                  | seconds   | milliseconds
-clk_wander_threshold  | seconds   | microseconds (probably ppm)
+clk_wander_threshold  | seconds   | microseconds
 tick                  | seconds   | milliseconds
 
 
@@ -47,4 +85,4 @@ Clock Variables
 Name       | internal | mode 6
 ====================================
 fudgetime1 | seconds  | milliseconds
-fudgetime2 | seconds  | milliseconds
+fudgetime2 | seconds  | milliseconds
\ No newline at end of file



View it on GitLab: https://gitlab.com/NTPsec/ntpsec/commit/7c7cee0aa21a9b27149284bdaa17f45ba230c881
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ntpsec.org/pipermail/vc/attachments/20170404/41d4ae2a/attachment.html>


More information about the vc mailing list