help-octave
[Top][All Lists]
Advanced

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

Re: instrumenting Octave


From: hicham
Subject: Re: instrumenting Octave
Date: Wed, 26 Sep 2012 18:36:08 -0700 (PDT)

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



 
--
View this message in context: http://octave.1599824.n4.nabble.com/instrumenting-Octave-tp4644679.html
Sent from the Octave - General mailing list archive at Nabble.com.
_______________________________________________
Help-octave mailing list
[hidden email]
https://mailman.cae.wisc.edu/listinfo/help-octave



--
DAS

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

_______________________________________________
Help-octave mailing list
[hidden email]
https://mailman.cae.wisc.edu/listinfo/help-octave



If you reply to this email, your message will be added to the discussion below:
http://octave.1599824.n4.nabble.com/instrumenting-Octave-tp4644679p4644680.html
To unsubscribe from instrumenting Octave, click here.
NAML


View this message in context: Re: instrumenting Octave

Sent from the Octave - General mailing list archive at Nabble.com.

_______________________________________________
Help-octave mailing list
[hidden email]
https://mailman.cae.wisc.edu/listinfo/help-octave




--
DAS

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

_______________________________________________
Help-octave mailing list
[hidden email]
https://mailman.cae.wisc.edu/listinfo/help-octave



If you reply to this email, your message will be added to the discussion below:
http://octave.1599824.n4.nabble.com/instrumenting-Octave-tp4644679p4644682.html
To unsubscribe from instrumenting Octave, click here.
NAML


View this message in context: Re: instrumenting Octave
Sent from the Octave - General mailing list archive at Nabble.com.

reply via email to

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