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 / timing

function

IPython.utils.timing:timing

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

Signature

def timing(func: Callable[..., Any], *args: Any, **kw: Any) → float

Summary

timing(func,*args,**kw) -> t_total

Extended Summary

Execute a function once, return the elapsed total CPU time in seconds. This is just the first value in timings_out().

Aliases

  • IPython.utils.timing.timing