yade-dev team mailing list archive
-
yade-dev team
-
Mailing list archive
-
Message #00958
Re: Profile-guided optimization
-
To:
yade-dev@xxxxxxxxxxxxxxxxxxx
-
From:
Václav S(milauer <eudoxos@xxxxxxxx>
-
Date:
Sat, 14 Feb 2009 10:08:02 +0100
-
In-reply-to:
<20090213154404.72b7f13c@szpak>
-
User-agent:
Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.8.1.19) Gecko/20090105 Lightning/0.8 Thunderbird/2.0.0.19 Mnenhy/0.7.5.666
> We should check this out:
>
> http://en.wikipedia.org/wiki/Profile-guided_optimization
>
> how to use it? Can we integrate it with scons? I wonder how much yade
> could get optimized with this.
>
Uah uah uah! It's been in scons for at least a year. Compile with
arcs=gen to have the instrumented code, run a few simulations, recompile
with arcs=use. RTFM gcc, options -fprofile-arcs and
-fbranch-probabilities. I tried it only once, I think, but it had no
noticeable effect, though.
V.
References