TimeUsed

TimeUsed[]

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

Details

  • 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.

Examples

open allclose all

Basic Examples  (2)

CPU time used by a Wolfram Language kernel:

In[1]:=
Click for copyable input
Out[1]=

Get time between function evaluations:

In[1]:=
Click for copyable input
Out[1]=

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

In[2]:=
Click for copyable input
Out[2]=

Scope  (1)

See Also

Timing  SessionTime  DateList  DateString  AbsoluteTime  $CloudCreditsAvailable

Tutorials

Introduced in 1991
(2.0)