etime {lazy.tools} | R Documentation |
This program calculates the elapsed time between concecutive calls.
etime(opt = 0, title = NULL)
opt |
= 0 to reset the clock |
title |
a title string |
A global variable ..start.. is used.
etime in seconds.
etime(0)
x=rnorm(10000000)
etime(1)
x=rnorm(10000000)
etime(2)
x=rnorm(10000000)
etime(1, "This is the title string.")
rm(x)