[Git][NTPsec/ntpsec][master] Updated unit handling code and documentation with new variable 'rootdist'.

Ian Bruene gitlab at mg.gitlab.com
Thu Jan 25 20:33:49 UTC 2018


Ian Bruene pushed to branch master at NTPsec / ntpsec


Commits:
08252e30 by Ian Bruene at 2018-01-25T14:32:55-06:00
Updated unit handling code and documentation with new variable 'rootdist'.

- - - - -


2 changed files:

- devel/units.txt
- pylib/util.py


Changes:

=====================================
devel/units.txt
=====================================
--- a/devel/units.txt
+++ b/devel/units.txt
@@ -46,6 +46,7 @@ leap                  | seconds       | seconds
 precision             | log2(seconds) | log2(seconds)
 rootdelay             | seconds       | milliseconds
 rootdisp              | seconds       | milliseconds
+rootdist              | seconds       | milliseconds
 offset                | seconds       | milliseconds
 frequency (aka drift) | seconds/s     | microseconds/s (aka ppm)
 sys_jitter            | seconds       | milliseconds


=====================================
pylib/util.py
=====================================
--- a/pylib/util.py
+++ b/pylib/util.py
@@ -73,10 +73,10 @@ def deunicode_units():  # pragma: no cover
 
 # Variables that have units
 S_VARS = ("tai", "poll")
-MS_VARS = ("rootdelay", "rootdisp", "offset", "sys_jitter", "clk_jitter",
-           "leapsmearoffset", "authdelay", "koffset", "kmaxerr", "kesterr",
-           "kprecis", "kppsjitter", "fuzz", "clk_wander_threshold", "tick",
-           "in", "out", "bias", "delay", "jitter", "dispersion",
+MS_VARS = ("rootdelay", "rootdisp", "rootdist", "offset", "sys_jitter",
+           "clk_jitter", "leapsmearoffset", "authdelay", "koffset", "kmaxerr",
+           "kesterr", "kprecis", "kppsjitter", "fuzz", "clk_wander_threshold",
+           "tick", "in", "out", "bias", "delay", "jitter", "dispersion",
            "fudgetime1", "fudgetime2")
 PPM_VARS = ("frequency", "clk_wander")
 



View it on GitLab: https://gitlab.com/NTPsec/ntpsec/commit/08252e30b1c0febba2d1e6ee4010296b09384b24

---
View it on GitLab: https://gitlab.com/NTPsec/ntpsec/commit/08252e30b1c0febba2d1e6ee4010296b09384b24
You're receiving this email because of your account on gitlab.com.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ntpsec.org/pipermail/vc/attachments/20180125/ca99da61/attachment.html>


More information about the vc mailing list