help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: efficiency


From: Etienne Grossmann
Subject: Re: efficiency
Date: Tue, 1 Feb 2000 08:26:28 GMT

Cc: address@hidden

  Hello,

  it's just sprintf that prints until all data is printed.  

> is the mytic your private routine? I dont have it.

 Yes, it is :

============================================================
# Returns the cputime since last 'mytic'
function dt = mytic()           
   static last_mytic = 0 ;
   [t,u,s] = cputime() ;
   dt = t - last_mytic ;
   last_mytic = t ;
endfunction
============================================================

  Cheers,

  Etienne



-----------------------------------------------------------------------
Octave is freely available under the terms of the GNU GPL.

Octave's home on the web:  http://www.che.wisc.edu/octave/octave.html
How to fund new projects:  http://www.che.wisc.edu/octave/funding.html
Subscription information:  http://www.che.wisc.edu/octave/archive.html
-----------------------------------------------------------------------



reply via email to

[Prev in Thread] Current Thread [Next in Thread]