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.00014s elapsed

o1 = 0

See also

For the programmer

The object elapsedTime is a keyword.


The source of this document is in /build/reproducible-path/macaulay2-1.25.06+ds/M2/Macaulay2/packages/Macaulay2Doc/ov_system.m2:935:0.