This is documentation for Mathematica 8, which was
based on an earlier version of the Wolfram Language.
View current documentation (Version 11.1)

TimeUsed

TimeUsed
gives the total number of seconds of CPU time used so far in the current Mathematica session.
  • TimeUsed records only CPU time actually used by the Mathematica 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.
CPU time used by a Mathematica kernel:
Get time between function evaluations:
Almost all of the time is spent in the last few evaluations because the precision is adaptive:
CPU time used by a Mathematica 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]=
Get time used by function evaluations and the rest of a computation:
The total computation time:
Get the evaluation times:
Evaluations were much faster near the root:
New in 2