changeset 16804:a455a18bfdac

lsprof: report units correctly
author Bryan O'Sullivan <bryano@fb.com>
date Wed, 30 May 2012 13:57:41 -0700
parents 107a3270a24a
children 186049f70026
files mercurial/lsprof.py
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- 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,