Mercurial > public > mercurial-scm > hg-stable
diff mercurial/lsprof.py @ 16263:be92ddc636e3
profile: add undocumented config options for profiler output
author | Matt Mackall <mpm@selenic.com> |
---|---|
date | Thu, 15 Mar 2012 15:59:26 -0500 |
parents | b1dcc5ab86cd |
children | a455a18bfdac |
line wrap: on
line diff
--- a/mercurial/lsprof.py Thu Mar 15 15:58:55 2012 -0500 +++ b/mercurial/lsprof.py Thu Mar 15 15:59:26 2012 -0500 @@ -48,7 +48,7 @@ if limit is not None and count == limit: return ccount = 0 - if e.calls: + if climit and e.calls: for se in e.calls: file.write(cols % ("+%s" % se.callcount, se.reccallcount, se.totaltime, se.inlinetime,