Function Reference
— Function File: etime (t1, t2)

Return the difference (in seconds) between two time values returned from clock. For example:

          t0 = clock ();
          # many computations later...
          elapsed_time = etime (clock (), t0);

will set the variable elapsed_time to the number of seconds since the variable t0 was set.

See also: tic toc clock cputime