[Git][NTPsec/ntpsec][master] Deleted 1 commit: Add in profile framework, comment out, just for developers.
Gary E. Miller
gitlab at mg.gitlab.com
Fri Aug 19 22:37:18 UTC 2016
Gary E. Miller pushed to branch master at NTPsec / ntpsec
WARNING: The push did not contain any new commits, but force pushed to delete the commits and changes below.
Deleted commits:
7db6aecb by Gary E. Miller at 2016-08-19T15:36:27-07:00
Add in profile framework, comment out, just for developers.
- - - - -
1 changed file:
- ntpstats/ntpviz
Changes:
=====================================
ntpstats/ntpviz
=====================================
--- a/ntpstats/ntpviz
+++ b/ntpstats/ntpviz
@@ -22,6 +22,10 @@ from __future__ import print_function, division
import os, sys, getopt, socket, binascii, datetime, collections, gzip
from ntp.statfiles import *
+#import cProfile, pstats, StringIO
+#pr = cProfile.Profile()
+#pr.enable()
+
# RMS frequency jitter - Deviation from a root-mean-square linear approximation?
# Investigate.
#
@@ -491,4 +495,8 @@ ntpviz</a>, part of the <a href="https://www.ntpsec.org/">NTPsec project</a>
ifile.write(index_trailer)
ifile.close()
+
+#pr.disable()
+#pr.print_stats('tottime')
+
# end
View it on GitLab: https://gitlab.com/NTPsec/ntpsec/commit/7db6aecbb556e8978b28d3ab8924a501567eaabf
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ntpsec.org/pipermail/vc/attachments/20160819/196d1d28/attachment.html>
More information about the vc
mailing list