summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSenthil Kumaran <orsenthil@gmail.com>2010-11-20 17:02:50 (GMT)
committerSenthil Kumaran <orsenthil@gmail.com>2010-11-20 17:02:50 (GMT)
commit5e703cf32b565611380538be794df8f04a719769 (patch)
tree63a8afd4628f41bfb83037ed51cad5daa755c0bb
parent35184edd3d5748db2a0a5bf0d41ffa04b84a7fa3 (diff)
downloadcpython-5e703cf32b565611380538be794df8f04a719769.zip
cpython-5e703cf32b565611380538be794df8f04a719769.tar.gz
cpython-5e703cf32b565611380538be794df8f04a719769.tar.bz2
Fix issue10377 - Output from pstats - it is just secs (i.e, wallclock time) and not CPU time.
-rw-r--r--Lib/pstats.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/pstats.py b/Lib/pstats.py
index 17d7279..f5c592b 100644
--- a/Lib/pstats.py
+++ b/Lib/pstats.py
@@ -348,7 +348,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: