[Git][NTPsec/ntpsec][master] ntpviz: adjust histogram bucket size

Gary E. Miller gitlab at mg.gitlab.com
Tue Jan 31 04:19:07 UTC 2017


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


Commits:
b6cfca58 by Gary E. Miller at 2017-01-30T20:18:49-08:00
ntpviz: adjust histogram bucket size

- - - - -


1 changed file:

- ntpclients/ntpviz


Changes:

=====================================
ntpclients/ntpviz
=====================================
--- a/ntpclients/ntpviz
+++ b/ntpclients/ntpviz
@@ -1057,7 +1057,8 @@ plot \
         rnd1 = 7        # round to 100 ns boxes
         out['boxwidth'] = 1e-7
 
-        if 1e-6 > stats.percs["p99"] and -1e-6 < stats.percs["p1"]:
+        # between -10us and 10us
+        if 1e-5 > stats.percs["p99"] and -1e-5 < stats.percs["p1"]:
             # go to nanosec
             rnd1 = 9        # round to 1 ns boxes
             out['boxwidth'] = 1e-9



View it on GitLab: https://gitlab.com/NTPsec/ntpsec/commit/b6cfca58da2f9db6d0aa8e441b537c7d47b75193
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ntpsec.org/pipermail/vc/attachments/20170131/1790b58c/attachment.html>


More information about the vc mailing list