delayt {cwhmisc} | R Documentation |
Wait for approximately sec
seconds during program execution
delayt(sec) # wait for sec seconds nrof <- delayt(sec) # save the number of internal calls of Sys.time(). Can be used to compare the relative execution speed of different processors.
sec |
Number of seconds to wait |
calls Sys.time()
the number of internal calls of Sys.time()
Christian W. Hoffmann <c-w.hoffmann@sunrise.ch>
http://www.wsl.ch/personal_homepages/hoffmann/index_EN
Sys.time(); nrof <- delayt(5); Sys.time() print(nrof) # 2620 on my machine