Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 5e703cf

Browse files
committed
Fix issue10377 - Output from pstats - it is just secs (i.e, wallclock time) and not CPU time.
1 parent 35184ed commit 5e703cf

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Lib/pstats.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -348,7 +348,7 @@ def print_stats(self, *amount):
348348
print(indent, self.total_calls, "function calls", end=' ', file=self.stream)
349349
if self.total_calls != self.prim_calls:
350350
print("(%d primitive calls)" % self.prim_calls, end=' ', file=self.stream)
351-
print("in %.3f CPU seconds" % self.total_tt, file=self.stream)
351+
print("in %.3f seconds" % self.total_tt, file=self.stream)
352352
print(file=self.stream)
353353
width, list = self.get_print_list(amount)
354354
if list:

0 commit comments

Comments
 (0)