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

bundles / IPython 9.11.0 / IPython / utils / timing / clocks

function

IPython.utils.timing:clocks

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

Signature

def clocks()

Summary

clocks() -> floating point number

Extended Summary

Return the 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.clocks