| << clock | Time functions | date >> |
| t = cputime() |
a double: time in seconds.
cputime() returns the CPU time used by Nelson session.
To measure performance, it is better to use tic and toc functions.
t1 = cputime;
sleep(10);
t2 = cputime;
t2 - t1
% versus tic toc
tic()
sleep(10);
toc()
| Version | Description |
|---|---|
| 1.0.0 | initial version |
Allan CORNET