help-gplusplus
[Top][All Lists]
Advanced

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

RE: gprof and inline methods


From: tlann
Subject: RE: gprof and inline methods
Date: Thu, 28 Oct 2004 09:13:01 -0700

Or you could just turn on -finline-functions

-O3 does this and a whole lot more.  It depends on what type of
optimization you want. 

Take a look at this link to see what all the options are 

http://gcc.gnu.org/onlinedocs/gcc-3.4.2/gcc/Optimize-Options.html#Optimize-Options

Thomas


> -------- Original Message --------
> Subject: Re: gprof and inline methods
> From: "Lionel B" <google@lionelb.com>
> Date: Thu, October 28, 2004 2:58 am
> To: help-gplusplus@gnu.org
> 
> Konstantin Schauwecker wrote:
> > E. Robert Tisdale wrote:
> >
> > > You screwed up.
> > > It didn't get inlined.
> > >
> > > Show us the options that you used to compile your benchmark.
> >
> > i just use the following options: -p -Wall -pedantic
> 
> You might try using the optimisation flag -O3. This defines
> -finline-functions (amongst other things).
> 
> Regards,
> 
> -- 
> Lionel B
> 
> _______________________________________________
> Help-gplusplus mailing list
> Help-gplusplus@gnu.org
> http://lists.gnu.org/mailman/listinfo/help-gplusplus





reply via email to

[Prev in Thread] Current Thread [Next in Thread]