Re: Optimization

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

 



Brian D.McGrew <brian@xxxxxxxxxxxxx> writes:

> so what flag can I give gcc to tell it to inline everything, or as
> much as possible???  Our code already takes 16 hours to build on
> sparc, using -O2 -g -finline-limit=2750.

I suppose you could use a larger -finline-limit value.

> I've profiled the code but I'm not exactly sure what to do with it now
> that I've got it.  Someone sail something about gproff but I don't
> know exactly what I'm looking for.

If you haven't run gprof, or some other profiling program, then you
haven't yet profiled the code.  I'm sure there is documentation out
there which can help.  I'm sorry, but this is not something which I am
prepared to walk you through.

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