Commit 5e703cf3 authored by Senthil Kumaran's avatar Senthil Kumaran

Fix issue10377 - Output from pstats - it is just secs (i.e, wallclock time) and not CPU time.

parent 35184edd
......@@ -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:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment