[Git][NTPsec/ntpsec][master] More standard def format for print_profile().
Gary E. Miller
gitlab at mg.gitlab.com
Thu Sep 29 22:34:31 UTC 2016
Gary E. Miller pushed to branch master at NTPsec / ntpsec
Commits:
00b10315 by Gary E. Miller at 2016-09-29T15:33:55-07:00
More standard def format for print_profile().
- - - - -
1 changed file:
- ntpstats/ntpviz
Changes:
=====================================
ntpstats/ntpviz
=====================================
--- a/ntpstats/ntpviz
+++ b/ntpstats/ntpviz
@@ -26,8 +26,7 @@ import atexit, binascii, collections, getopt, os, socket, sys, time
from ntp.statfiles import *
def print_profile():
- # called by atexit() on normal exit to print profile data
- # finish the profile
+ """called by atexit() on normal exit to print profile data"""
pr.disable()
pr.print_stats('tottime')
pr.print_stats('cumtime')
View it on GitLab: https://gitlab.com/NTPsec/ntpsec/commit/00b103156605d13ade103b9a760a5f6e0834e754
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ntpsec.org/pipermail/vc/attachments/20160929/6e840b37/attachment.html>
More information about the vc
mailing list