mirror of
https://github.com/python/cpython.git
synced 2026-04-05 03:21:05 +00:00
Merged revisions 86580 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r86580 | senthil.kumaran | 2010-11-21 01:02:50 +0800 (Sun, 21 Nov 2010) | 3 lines Fix issue10377 - Output from pstats - it is just secs (i.e, wallclock time) and not CPU time. ........
This commit is contained in:
parent
07b9e69247
commit
e062ba48b6
1 changed files with 1 additions and 1 deletions
|
|
@ -358,7 +358,7 @@ def print_stats(self, *amount):
|
|||
print(indent, self.total_calls, "function calls", end=' ', file=self.stream)
|
||||
if self.total_calls != self.prim_calls:
|
||||
print("(%d primitive calls)" % self.prim_calls, end=' ', file=self.stream)
|
||||
print("in %.3f CPU seconds" % self.total_tt, file=self.stream)
|
||||
print("in %.3f seconds" % self.total_tt, file=self.stream)
|
||||
print(file=self.stream)
|
||||
width, list = self.get_print_list(amount)
|
||||
if list:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue