Re: Inlined functions



On Fri, 2005-10-21 at 23:54 -0700, Travis Reitter wrote:
> Is it safe to assume that pre-compiled packages for most distros are
> compiled with functions in-lined? Do any distros provide information
> about the compiler flags used for each package?
> 
> If I want to perform fine-grained profiling, should I just recompile the
> package I want to profile (and its dependencies) without in-lining? Are
> there any other build options I should keep in mind when recompiling
> packages to be profiled?

All distros, save for say Gentoo, inline only functions explicitly asked
to be inlined.

No additional compile-time inlining occurs.

Most distros compile with -O2 and little or no additional -f flags.

	Robert Love





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