[Git][NTPsec/ntpsec][master] 4 digits of delay/offset/jitter precision.
Eric S. Raymond
gitlab at mg.gitlab.com
Tue Jan 31 04:56:03 UTC 2017
Eric S. Raymond pushed to branch master at NTPsec / ntpsec
Commits:
f8191ebb by Eric S. Raymond at 2017-01-30T23:55:48-05:00
4 digits of delay/offset/jitter precision.
- - - - -
1 changed file:
- pylib/util.py
Changes:
=====================================
pylib/util.py
=====================================
--- a/pylib/util.py
+++ b/pylib/util.py
@@ -470,10 +470,10 @@ class PeerSummary:
# The rest of the story
last_sync = variables.get("rec") or variables.get("reftime")
jd = estjitter if have_jitter else estdisp
- jd = " -" if jd >= 999 else ("%7.3f" % jd)
+ jd = " -" if jd >= 999 else ("%7.4f" % jd)
try:
line += (
- " %2ld %c %4.4s %4.4s %3lo %7.3f %8.3f %s\n"
+ " %2ld %c %4.4s %4.4s %3lo %7.4f %8.4f %s\n"
% (variables.get("stratum", 0),
ptype,
PeerSummary.prettyinterval(
View it on GitLab: https://gitlab.com/NTPsec/ntpsec/commit/f8191ebbf1ac5aeea180f2c2348f892de3f0085e
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ntpsec.org/pipermail/vc/attachments/20170131/281fefe7/attachment.html>
More information about the vc
mailing list