Skip to content

AbsoluteTiming

Status: Experimental

present and registered, but lightly documented and not yet covered by dedicated tests.

Description

AbsoluteTiming[expr] evaluates expr, and returns a list of the absolute number of seconds of elapsed wall-clock time, together with the result obtained.

Examples

No verified examples yet for this function.

Implementation notes

  • HoldAll, Protected, SequenceHold.
  • Returns {seconds, result}.
  • Elapsed real time from a monotonic clock, so a clock adjustment during a long evaluation cannot produce a negative interval.
  • This, not Timing, is the right measurement for anything threaded: the multithreaded reductions and elementwise kernels, Dot and the LAPACK-backed decompositions all run on several cores at once.

Attributes: HoldAll, Protected, SequenceHold.

References

See also: HoldAll, SequenceHold, Timing, Dot