* Compile Timing Information
@ 2002-09-05 9:10 David Durham
0 siblings, 0 replies; only message in thread
From: David Durham @ 2002-09-05 9:10 UTC (permalink / raw)
To: gcc-help
Hi, I'm trying to speed up the compiling of my application. It's C++
and has a heavy used of templates.
The first thing I've done is changed my code to use explicit
instantiation so I don't have to include the template definitions in the
template declaration .h file. This surely sped things up a lot..
However, I was wondering if there were any flags to gcc that will output
timing information per included file or per function or something.. to
show where the compiler spent the majority of it's time.. either what
file or what function.. sorta like runtime profiling..except I want
compile-time profiling I guess..
I looked through the man pages and saw all the -d flags, but didn't know
if any of them would really help me..
Thank,
Davy
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2002-09-05 16:10 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-09-05 9:10 Compile Timing Information David Durham
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).