This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: how to measure compilation time?
- From: Sergei Organov <osv at javad dot com>
- To: gcc-help at gcc dot gnu dot org
- Date: Wed, 05 Dec 2007 15:24:59 +0300
- Subject: Re: how to measure compilation time?
- References: <14168965.post@talk.nabble.com>
mahmoodn <nt_mahmood@yahoo.com> writes:
> How it is possible to measure compilation time in gcc? any macro,
> script...
`-ftime-report'
Makes the compiler print some statistics about the time consumed
by each pass when it finishes.
--
Sergei.