User forums > Using Code::Blocks
profiling hell
Max:
Hello,
--- Quote from: oBFusCATed on March 21, 2010, 07:01:35 pm ---This seems like a problem with your gprof...
Please do a search for "gprof no time accumulated", there are lots of hints....
You can try newer mingw or TDM release of gcc (gprof should be bundled with gcc or binutils, no sure about that)
Update: See here for explanation of the shortcomings of gprof: http://www.ibm.com/developerworks/library/l-gnuprof.html#listing6
--- End quote ---
I got the same problem in the past solved using gprof from binutils-2.17.50-20060824-1.tar.gz. The bug is in gprof. Becasue after that profiling session I no longer used gprof I don't know in which binutils the bug was fixed.
Try the latest binutils. If the problem persists try to extract gprof from 2.17.50 and overwrite (after making a backup copy) your gprof.exe in the bin directory of your MinGW installation.
Hope this helps
Max
forestmaster:
thanks to everybody for the answers: I had already made loads of googling and checked out different binutils; however, to my utter joy, I've finally fixed my issue.
my application was just running for a too short time, I let it compute 100 times the iterations it was doing and all worked nice.
thanks again
daniele
Navigation
[0] Message Index
[*] Previous page
Go to full version