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

Documentation / Mathematica / Built-in Functions / System Interface / Time and Date /


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