gprof
gprof vs cachegrind profiles
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:[详细]
2023-03-12 09:59 分类:问答Shorten function names in profling results with gprof2dot.py
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[详细]
2023-03-11 00:17 分类:问答Logging code execution in C++
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[详细]
2023-02-24 11:36 分类:问答List functions in the order they are executed
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[详细]
2023-02-21 20:37 分类:问答Where can get libc_p.so source code?
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.[详细]
2023-02-19 11:18 分类:问答Inaccuracy in gprof output
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开发者[详细]
2023-02-10 20:33 分类:问答gprof messing up
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.[详细]
2023-02-06 09:51 分类:问答gprof: unexpected EOF after reading 48/271618093 bins?
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 :[详细]
2023-02-02 06:44 分类:问答gprof on MacOS 10.6 with c++ program has call data but no timing data --- why?
I have a C++ single-threaded program running on MacOS 10.6. It\'s getting call counts but not time information.[详细]
2023-01-31 02:14 分类:问答Why does gprof significantly underestimate the program's running time?
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[详细]
2023-01-27 07:17 分类:问答
加载中,请稍侯......