Re: Profiling compilation time

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Yang Zhang <yanghatespam@xxxxxxxxx> writes:

> 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?

Use the -ftime-report option.

Ian

[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux