cputime
Return the CPU time used by your Nelon session.
📝Syntax
t = cputime()
📤Output Arguments
Parameter Description
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.

💡Examples
t1 = cputime;
sleep(10);
t2 = cputime;
t2 - t1

% versus tic toc
tic()
sleep(10);
toc()
🔗See Also
tictoc
🕔Version History
Version Description
1.0.0 initial version
Edit this page on GitHub