This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
where my program spends time?
- From: Anna Sidera <sidera dot anna at ucy dot ac dot cy>
- To: gcc-help at gcc dot gnu dot org
- Date: Fri, 28 Jan 2011 09:23:49 +0200
- Subject: where my program spends time?
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