diff options
author | Senthil Kumaran <orsenthil@gmail.com> | 2010-11-20 17:08:19 (GMT) |
---|---|---|
committer | Senthil Kumaran <orsenthil@gmail.com> | 2010-11-20 17:08:19 (GMT) |
commit | e062ba48b6945ed0fa8be65d26ddbf88374293c0 (patch) | |
tree | 8a7214a1d815f71821a7822d5165039bc0118768 /Lib/pstats.py | |
parent | 07b9e69247addadadc8cd9605f3c3d5564e50d97 (diff) | |
download | cpython-e062ba48b6945ed0fa8be65d26ddbf88374293c0.zip cpython-e062ba48b6945ed0fa8be65d26ddbf88374293c0.tar.gz cpython-e062ba48b6945ed0fa8be65d26ddbf88374293c0.tar.bz2 |
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.
........
Diffstat (limited to 'Lib/pstats.py')
-rw-r--r-- | Lib/pstats.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/pstats.py b/Lib/pstats.py index 81d9d0d..db16628 100644 --- a/Lib/pstats.py +++ b/Lib/pstats.py @@ -358,7 +358,7 @@ class Stats: 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: |