]> granicus.if.org Git - python/commitdiff
Merged revisions 86580 via svnmerge from
authorSenthil Kumaran <orsenthil@gmail.com>
Sat, 20 Nov 2010 17:09:14 +0000 (17:09 +0000)
committerSenthil Kumaran <orsenthil@gmail.com>
Sat, 20 Nov 2010 17:09:14 +0000 (17:09 +0000)
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.
........

Lib/pstats.py

index c019cd1fd1a99d65de64aa6953b523a35d899742..9ccd75b3cd68b5fb33fd55c2a5b191800c4dd5fd 100644 (file)
@@ -359,7 +359,7 @@ class Stats:
         print >> self.stream, indent, self.total_calls, "function calls",
         if self.total_calls != self.prim_calls:
             print >> self.stream, "(%d primitive calls)" % self.prim_calls,
-        print >> self.stream, "in %.3f CPU seconds" % self.total_tt
+        print >> self.stream, "in %.3f seconds" % self.total_tt
         print >> self.stream
         width, list = self.get_print_list(amount)
         if list: