Mathematica 9 is now available

AbsoluteTiming

Usage

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


Notes

AbsoluteTiming gives the absolute number of seconds of real time that have elapsed, multiplied by the symbol Second.
AbsoluteTiming has attribute HoldAll.
AbsoluteTiming[expr;] will give {timing, Null}.
First[AbsoluteTiming[expr;]] /. Second->1 yields just the number of seconds of time elapsed in the evaluation of expr.
AbsoluteTiming is always accurate down to a granularity of $TimeUnit seconds, but on many systems is much more accurate.
• New in Version 5.


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.