[Git][NTPsec/ntpsec][master] Add nanoSecond range to peer offset and peer jitter

Gary E. Miller gitlab at mg.gitlab.com
Thu Sep 8 01:29:07 UTC 2016


Gary E. Miller pushed to branch master at NTPsec / ntpsec


Commits:
4dd4cbac by Gary E. Miller at 2016-09-07T18:28:24-07:00
Add nanoSecond range to peer offset and peer jitter

- - - - -


1 changed file:

- ntpstats/ntpviz


Changes:

=====================================
ntpstats/ntpviz
=====================================
--- a/ntpstats/ntpviz
+++ b/ntpstats/ntpviz
@@ -315,6 +315,11 @@ plot \
                 # go to millisec
                 unit = "ms"
                 multiplier = 1000
+            else:
+                if 1 > ninetynine and -1 < one:
+                    # go to nanosec
+                    unit = "ns"
+                    multiplier = 1e9
 
             if "offset" == type:
                 # fld == 4



View it on GitLab: https://gitlab.com/NTPsec/ntpsec/commit/4dd4cbaca8fb1f388febd441eca226d626f5a63b
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ntpsec.org/pipermail/vc/attachments/20160908/3578b030/attachment.html>


More information about the vc mailing list