Mathematica 9 is now available
 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]=



    Any questions about topics on this page? Click here to get an individual response.Buy NowMore Information
    THIS IS DOCUMENTATION FOR AN OBSOLETE PRODUCT.
    SEE THE DOCUMENTATION CENTER FOR THE LATEST INFORMATION.