Macaulay2 » Documentation
Packages » Macaulay2Doc :: cpuTime
next | previous | forward | backward | up | index | toc

cpuTime -- seconds of cpu time used since Macaulay2 began

Synopsis

Description

i1 : t1 = cpuTime()

o1 = 155.045273092

o1 : RR (of precision 53)
i2 : for i from 0 to 1000000 do 223131321321*324234324324;
i3 : t2 = cpuTime()

o3 = 156.204807392

o3 : RR (of precision 53)
i4 : t2-t1

o4 = 1.15953429999999

o4 : RR (of precision 53)

See also

For the programmer

The object cpuTime is a compiled function.