Time necessary for a script to be executed

Is there a function that gives the time Octave has spent executing the script?

look at:
tic; ; toc
(measures elapsed wal clock time)

and the cputime() function

2 Likes

also we have a profiler:
https://octave.org/doc/v4.2.1/Profiling.html

2 Likes