Macaulay2 » Documentation
Packages » Macaulay2Doc » The Macaulay2 language » system facilities » elapsedTime
next | previous | forward | backward | up | index | toc

elapsedTime -- time a computation including time elapsed

Description

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

o1 = 0

See also

For the programmer

The object elapsedTime is a keyword.


The source of this document is in Macaulay2Doc/ov_system.m2:935:0.