cputime
Return the CPU time used by your Nelon session.
📝 Syntax
t = cputime()
📤 Output argument
t - a double: time in seconds.
📄 Description
cputime() returns the CPU time used by Nelson session.
To measure performance, it is better to use tic and toc functions.
💡 Example
t1 = cputime;
sleep(10);
t2 = cputime;
t2 - t1
% versus tic toc
tic()
sleep(10);
toc()🔗 See also
🕔 History
Version
📄 Description
1.0.0
initial version
Last updated
Was this helpful?