gprof reports no time accumulated

If your program terminates in a non-clean manner then the profile data won’t get written correctly – how is your program exiting?

Regardless, I’d strongly recommend using Shark instead of gprof – it’s very easy to use and superior in pretty much every way to gprof – and doesn’t require you to recompile your program.

Leave a Comment