Wolfram ResearchProductsPurchasingServices & ResourcesAbout UsOur Sites
Mathematica Technical FAQs Services & Resources / Mathematica / Kernels & Programming
-----
 /
Symbols
*Mathematica
*Network Mathematica
*webMathematica
*gridMathematica
*Personal Grid Edition
*Wolfram Workbench
*Wolfram Education Group
*Application Packages
*Mathematica for Students
*Mathematica CalcCenter
*Publicon
*A New Kind of Science Explorer
*Mathematical Explorer
*Mathematica Teacher's Edition
*Calculus WIZ
*Mathematica Player
*Ask about this page
*Print this page
*Email this page
*Give us feedback
*
Sign up for our newsletter:

Timing


Usage Message:

Timing[expr] evaluates expr, and returns a list of time used, together with the result obtained.

Attributes[Timing] = {HoldAll, Protected, SequenceHold}


Notes:

The Timing function relies on timing information provided by the operating system of your computer. On most computers this information is accessed through internal C programming language functions such as clock or getrusage. The actual internal function that is used depends on the type of computer.

In Mathematica for SGI, Solaris, and Digital Unix, the Timing function can return a time of Null if the time of the calculation is more than about 40 minutes. This behavior is a result of an unanticipated limitation of the underlying timing system on these computers. Although there are no direct workarounds for this problem, you can usually get useful timing information using other functions, such as AbsoluteTime , SessionTime , or TimeUsed .

It is expected that this problem will be corrected for the next release of Mathematica.


Additional Online Documentation:

Mathematica 3.0
http://documents.wolfram.com/v3/RefGuide/Timing.html

Mathematica 4.0
http://documents.wolfram.com/v4/RefGuide/Timing.html




 © 2008 Wolfram Research, Inc.  Terms of Use  Privacy Policy