How can I use INTERVAL() to measure elapsed time?

Status
Not open for further replies.
N

nikita

Guest
Could anyone help me figure out how to check which loop is faster - FOR or REPEAT, using Etime and interval function?

do: etime(yes). repeat i = 1 to 5: display '123'. end. end1 = etime. display "etime for repeat block" end1 - start1. end.

Instead of using end1-start1 I would like to use interval function to find the elapsed time. Thank you.

Continue reading...
 
Status
Not open for further replies.
Top