While trying to optimize a code, I\'m a bit puzzled by differences in profiles produced by kcachegrdind and gprof. Specifically, if I use gprof (compiling with the -pg switch, etc), I have this:
I work usually with gprof + gprof2dot.py to profile C++ codes. A new code I am开发者_Go百科 working with uses very long function names, so that the graphical results with gprof2dot.py are a mess. I wo
Having used gprof and callgrind many times, I have reached the (obvious) conclusion that I cannot use them efficiently when dealing with large (as in a CAD program that loads a whole car) programs. I
I define several functions in a file (the main function is defined by someone else). I can use gprof to analyze how many times my functions have been called, but is there a way of getting a list with
I\'d like to profiling my owned process in target hardware, I only can check the source code as libc.so since there is no libc_p.so available for my开发者_开发百科 MIPS target hardware.
I am trying to profile a c++ function using gprof, I am intrested in the %time taken. I did more than one run and for some reason I got a large difference in the results. I don\'t know what is ca开发者
I am trying 2 profile a cpp code. I compiled with -pg flags and after I profiled it to get the output I got some very weird function names.
Doe开发者_StackOverflow中文版s anyone know what this error means for gprof? I\'m running gcc -pg. Thanks.As this question is the top result on Google :
I have a C++ single-threaded program running on MacOS 10.6. It\'s getting call counts but not time information.
I have this program that takes 2.34 seconds to run, and gprof says it only takes 1.18 seconds. I\'ve read answers elsewhere suggesting that gprof can get it wrong if e.g the开发者_JAVA百科 program is