help-octave
[Top][All Lists]
Advanced

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

Re: instrumenting Octave


From: Doug Stewart
Subject: Re: instrumenting Octave
Date: Wed, 26 Sep 2012 23:09:27 -0400



On Wed, Sep 26, 2012 at 9:36 PM, hicham <address@hidden> wrote:

Thanks Doug. This certainly does work for time. Can I also measure in millisecond?

On Sep 26, 2012 6:23 PM, "Doug Stewart-4 [via Octave]" <[hidden email]> wrote:



On Wed, Sep 26, 2012 at 9:09 PM, hicham <[hidden email]> wrote:

Hi Doug,

I'm rather new to Octave and I do not know the various functions that can be used to re lord timestamps, show memory usage, objects, etc.. that's the reason I ask whether there is a way to do so. Does that clarifies it?

Regards

-Hicham.

On Sep 26, 2012 5:13 PM, "Doug Stewart-4 [via Octave]" <[hidden email]> wrote:



On Wed, Sep 26, 2012 at 7:10 PM, hicham <[hidden email]> wrote:
Hello,

Could anyone let me know if there is a way to instrument code in Octave? if
so, any pointers would be greatly appreciated.  My first object is to find
out the cost (time taken, cpu cycles, etc...) associated with running
certain functions that I plan to run as part of my code.

Thank you in advance.

Regards,

-Hicham.


 
What do you mean by :"if there is a way to instrument code"

 

Hi Doug,

I'm rather new to Octave and I do not know the various functions that can be used to re lord timestamps, show memory usage, objects, etc.. that's the reason I ask whether there is a way to do so. Does that clarifies it?

Regards

-Hicham.



Please reply at the bottom. 
try this:


m=0;
tic
for k=1 :2000
m=m+k;
endfor
toc



 

try:

help tic
help time
help cputime 
--
DAS

https://linuxcounter.net/user/206392.html

reply via email to

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