# HG changeset patch # User Bryan O'Sullivan # Date 1338411461 25200 # Node ID a455a18bfdac196dbcb274b2e4ba48545e424797 # Parent 107a3270a24a1a0fcaa992cb8bbd644535a9d2ee lsprof: report units correctly diff -r 107a3270a24a -r a455a18bfdac 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,