octave-maintainers
[Top][All Lists]
Advanced

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

Re: Profiling GNU Octave


From: Júlio Hoffimann
Subject: Re: Profiling GNU Octave
Date: Fri, 8 Mar 2013 19:34:07 -0300

No success, the output is still empty:

index % time    self  children    called     name
                0.00    0.00       1/1           __libc_csu_init [16]
[9]      0.0    0.00    0.00       1         _GLOBAL__sub_I_main [9]
                0.00    0.00       1/1           __static_initialization_and_destruction_0(int, int) [10]
-----------------------------------------------
                0.00    0.00       1/1           _GLOBAL__sub_I_main [9]
[10]     0.0    0.00    0.00       1         __static_initialization_and_destruction_0(int, int) [10]
-----------------------------------------------

If you know what is happening, please share.

Best,
Júlio.


2013/3/8 Júlio Hoffimann <address@hidden>
Nevermore! I added -O3 and it striped the profiling info.

Building again...


2013/3/8 Júlio Hoffimann <address@hidden>
Hi,

I'm trying to do some profiling before add OpenMP constructs, however, gprof's output is showing empty. I have set both CXXFLAGS and LDFLAGS to include the -pg flag, don't know what is causing the profiler to miss the function calls:

index % time    self  children    called     name
                0.00    0.00       1/1           __libc_csu_init [15]
[9]      0.0    0.00    0.00       1         _GLOBAL__sub_I_main [9]
-----------------------------------------------


These are the only two calls captured and they have no practical meaning. Anyone knows what is happening?

Best,
Júlio.



reply via email to

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