next | previous | forward | backward | up | top | index | toc | Macaulay2 web site
Macaulay2Doc :: elapsedTime

elapsedTime -- time a computation using time elapsed

Synopsis

Description

elapsedTime e evaluates e, prints the amount of time elapsed, and returns the value of e.
i1 : elapsedTime sleep 1
     -- 1.0011 seconds elapsed

o1 = 0

See also

For the programmer

The object elapsedTime is a keyword.