[Index for tmp_for_tar/deriv_min.doc]
[Return to Master Index]
mytic
(tmp_for_tar/deriv_min.doc/mytic.m)
Function Synopsis
dt = mytic()
Help text
dt = mytic()
Returns the cputime since last call to 'mytic'.
Last modified: October 2000
Listing of function file tmp_for_tar/deriv_min.doc/mytic.m
## dt = mytic()
##
## Returns the cputime since last call to 'mytic'.
## Author: Etienne Grossmann <etienne@isr.ist.utl.pt>
## Last modified: October 2000
function dt = mytic()
static last_mytic = 0 ;
[t,u,s] = cputime() ;
dt = t - last_mytic ;
last_mytic = t ;
endfunction
# static last_mytic = clock() ;
# t = clock();
# dt = etime( t, last_mytic );
# last_mytic = t ;
Produced by oct2html on Tue Oct 17 10:08:37 2000
Cross-Directory links are: ON