[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

6.14.6 cputime, tstart, tstop

cputime(onoff)
:: Stop displaying cputime if its argument is 0, otherwise start displaying cputime after every top level evaluation of Asir command.
tstart()
:: Resets and starts timer for CPU time and GC time.
tstop()
:: Stops timer and then displays CPU time GC time elapsed from the last time when timer was started.

return
0
onoff
flag (arbitrary)

 
[49] tstart$
[50] fctr(x^10-y^10);
[[1,1],[x+y,1],[x^4-y*x^3+y^2*x^2-y^3*x+y^4,1],[x-y,1],
[x^4+y*x^3+y^2*x^2+y^3*x+y^4,1]]
[51] tstop$
80msec + gc : 40msec

References
6.14.5 time, 6.14.8 currenttime, 6.14.1 ctrl.



This document was generated by root on March, 5 2004 using texi2html