Re: Inlined functions
- From: Robert Love <rml novell com>
- To: treitter-dev netdrain com
- Cc: Performance-list gnome org
- Subject: Re: Inlined functions
- Date: Mon, 31 Oct 2005 21:58:49 -0500
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]