Read the stopwatch timer
toc() t = toc()
number of seconds since last call to tic()
(Precision in order of millisecond).
The sequence of commands tic(); operation; toc();
prints the number of seconds required for the operation.
tic(); realtimeinit(1); realtime(0); realtime(10); toc(); | ![]() | ![]() |