[Top][All Lists]

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

Re: Profiling tools for octave .oct files?

From: geraint
Subject: Re: Profiling tools for octave .oct files?
Date: Sat, 20 Jan 2001 23:23:28 -0500 (EST)

It is possible to profile .oct files if they are called from a standalone
program (i.e. not Octave). Edit "mkoctfile" to include the appropriate
compiler option (-pg for gcc/gprof) when generating the .oct files from
the .cc sources. If the main executable has been compiled with the same
options, there should be no difficulties generating the profile output.

I haven't been able to generate profile output for .oct files called from
Octave, but I would expect that rebuilding Octave with the appropriate
compiler options would remedy this.


> Has anyone had success in profiling octave .oct files? 
> I presume standard c++ profilers should work but 
> I've never really played with them. Care to share hints?
> PS. I very much like working with octave and especially
> liboctave in C++. After a few weeks of depressurization from
> matlab, I'm a convert. 
> Thanks John and others!
> Regards,
> Doug

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

Octave's home on the web:
How to fund new projects:
Subscription information:

reply via email to

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