On 01/28/2011 08:23 AM, Anna Sidera wrote:
Hello, I wrote a simulation program in gcc that takes 12 hours to finish and I want to make it faster. Can you tell me any way to find what proportion of the time is spend in each line of the program? (like profile in matlab) Thanks, Anna
gprof http://sourceware.org/binutils/docs-2.21/gprof/index.html