You are viewing an older version (9.11.0). Go to latest (9.13.0)
{ } Raw JSON

bundles / IPython 9.11.0 / IPython / utils / timing / timings_out

function

IPython.utils.timing:timings_out

source: /IPython/utils/timing.py :80

Signature

def   timings_out ( reps func * args ** kw )  →  (t_total, t_per_call, output)

Summary

Execute a function reps times, return a tuple with the elapsed total CPU time in seconds, the time per call and the function's output.

Extended Summary

Under Unix, the return value is the sum of user+system time consumed by the process, computed via the resource module. This prevents problems related to the wraparound effect which the time.clock() function has.

Under Windows the return value is in wall clock seconds. See the documentation for the time module for more details.

Aliases

  • IPython.utils.timing.timings_out