I'm not sure if this is the right place (do I put this in Linux? Tech?) but I'm trying to profile my software to identify bottlenecks or where my code is the slowest.
I just googled around and found out about gprof. I tried using it and the results don't seem that straight forward. Are there any other good tools or tips anyone may have about how to optimize code?
Keep in mind, this is code that was first written to work so I wasn't expecting anything great but when I try to make it lean, it's not where I want it to be.