help-octave
[Top][All Lists]
Advanced

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

profiling Octave


From: Jaroslav Hajek
Subject: profiling Octave
Date: Thu, 5 Feb 2009 17:16:24 +0100

hi,

has anyone experience profiling with gcc/g++?
I wanted to try profiling Octave to identify hot spots in the
interpreter, but can't get it to work.
I configured using configure CFLAGS="-O2 -pg" CXXFLAGS="-O2 -pg"
LDFLAGS=-pg, then built and ran ./run-octave on a test script.
It produced a gmon.out file, but `gprof src/octave' does not show
anything. So far I was unable to find any useful information how to
get this working. A similar strategy works on a single sample C++ file
(g++ -pg, then gprof).
Has anyone experience with this? I would really prefer to do this with
GCC rather than a commercial compiler.

best regards

-- 
RNDr. Jaroslav Hajek
computing expert
Aeronautical Research and Test Institute (VZLU)
Prague, Czech Republic
url: www.highegg.matfyz.cz


reply via email to

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