lsprof: report units correctly
authorBryan O'Sullivan <bryano@fb.com>
Wed, 30 May 2012 13:57:41 -0700
changeset 16804 a455a18bfdac
parent 16803 107a3270a24a
child 16806 186049f70026
lsprof: report units correctly
mercurial/lsprof.py
--- a/mercurial/lsprof.py	Tue May 15 10:46:23 2012 -0700
+++ b/mercurial/lsprof.py	Wed May 30 13:57:41 2012 -0700
@@ -38,8 +38,8 @@
             d = d[:top]
         cols = "% 12s %12s %11.4f %11.4f   %s\n"
         hcols = "% 12s %12s %12s %12s %s\n"
-        file.write(hcols % ("CallCount", "Recursive", "Total(ms)",
-                            "Inline(ms)", "module:lineno(function)"))
+        file.write(hcols % ("CallCount", "Recursive", "Total(s)",
+                            "Inline(s)", "module:lineno(function)"))
         count = 0
         for e in d:
             file.write(cols % (e.callcount, e.reccallcount, e.totaltime,