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

bundles / IPython 9.3.0 / IPython / utils / timing / clock

function

IPython.utils.timing:clock

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

Signature

def   clock ( )

Summary

clock() -> floating point number

Extended Summary

Return the TOTAL USER+SYSTEM CPU time in seconds since the start of the process. This is done via a call to resource.getrusage, so it avoids the wraparound problems in time.clock().

Aliases

  • IPython.utils.timing.clock