This is documentation for Mathematica 3, which was
based on an earlier version of the Wolfram Language.
View current documentation (Version 11.1)
 Documentation / Mathematica / Built-in Functions / Time and Date  /
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.
  • TimeUsed is accurate only down to a granularity of at least $TimeUnit seconds.
  • See the Mathematica book: Section 2.13.3.
  • See also: Timing, SessionTime.

    Further Examples

    If you perform a lengthy computation the total amount of CPU time increases.

    In[1]:=

    Out[1]=