Mathematica 9 is now available

Documentation / Mathematica / Built-in Functions / New in Version 5.0 / System Interface /

AbsoluteTiming

FilledSmallSquare AbsoluteTiming[expr] evaluates expr, returning a list of the absolute time that has elapsed, together with the result obtained.

FilledSmallSquare AbsoluteTiming gives the absolute number of seconds of real time that have elapsed, multiplied by the symbol Second.

FilledSmallSquare AbsoluteTiming has attribute HoldAll.

FilledSmallSquare AbsoluteTiming[expr;] will give timing, Null.

FilledSmallSquare First[AbsoluteTiming[expr;]] /. Second->1 yields just the number of seconds of time elapsed in the evaluation of expr.

FilledSmallSquare AbsoluteTiming is always accurate down to a granularity of $TimeUnit seconds, but on many systems is much more accurate.

FilledSmallSquare See Section 2.14.3.

FilledSmallSquare See also: Timing, TimeConstrained, SessionTime, AbsoluteTime.

FilledSmallSquare New in Version 5.0.

Further Examples



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.