This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Profiling compilation time
- From: Yang Zhang <yanghatespam at gmail dot com>
- To: GCC-help <gcc-help at gcc dot gnu dot org>
- Date: Tue, 24 Mar 2009 05:17:46 -0400
- Subject: Profiling compilation time
Hi, are there any tools or hooks available that would help with
profiling compilation time within g++? I'd like to gain a better
understanding of where the time goes, primarily on two dimensions:
- Which files does the compiler spend most of its time working with?
- What stages of compilation are most expensive?
Thanks!
--
Yang Zhang
http://www.mit.edu/~y_z/