Timing the compiler

Aldy Hernandez aldyh@redhat.com
Mon Jun 3 22:57:00 GMT 2002


>>>>> "Richard" == Richard Henderson <rth@redhat.com> writes:

 > On Mon, Jun 03, 2002 at 03:25:31PM +0200, Martin v. Löwis wrote:
 >> Is that supported? If not, how could I best produce such statistics?

 > Nope.  Um..  dunno off-hand.  There are some routines in
 > timevar.c that you could no doubt make use of.

coolest way would be to modify gcc to emit timing information or some
stub information for each function compiled, then use that compiler to
compile itself.

aldy



More information about the Gcc mailing list