MATLAB timer functions
Provides stopwatch timer. Function tic
starts the timer and toc
updates the elapsed time since the timer was started.
tic(gcFirst=FALSE) toc(echo=TRUE)
gcFirst |
logical scalar. If |
echo |
logical scalar. If |
Provides analog to system.time
.
Function toc
can be invoked multiple times in a row.
toc
invisibly returns the elapsed time as a named scalar (vector).
P. Roebuck proebuck@mdanderson.org
tic() for(i in 1:100) mad(runif(1000)) # kill time toc()
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.