gives the total number of seconds of CPU time used so far in the current Wolfram System session.


  • TimeUsed records only CPU time actually used by the Wolfram Language kernel. It does not include time used by external processes called by the kernel. It also does not include time during pauses produced by Pause.
  • TimeUsed is accurate only down to a granularity of at least $TimeUnit seconds.


open allclose all

Basic Examples  (2)

CPU time used by a Wolfram Language kernel:

Get time between function evaluations:

Almost all of the time is spent in the last few evaluations because the precision is adaptive:

Scope  (1)

Get time used by function evaluations and the rest of a computation:

The total computation time:

Get the evaluation times:

Evaluations tended to be faster near the root:

Introduced in 1991