de ne pas utiliser d'optimisations spéciales sans avoir lu le man ?
voir man gcc section -fbranch-probabilities et -fprofile-arcs
merci
Bruno CAUSSE
dans l'article 431e2361$0$20305$, tonton à a écrit le 7/09/05 1:16 :
voir man gcc section -fbranch-probabilities et -fprofile-arcs
merci
-fbranch-probabilities After running a program compiled with -fprofile-arcs (see Options for Debugging Your Program or gcc), you can compile it a second time using -fbranch-probabilities, to improve optimizations based on the number of times each branch was taken. When the program compiled with -fprofile-arcs exits it saves arc execution counts to a file called sourcename.gcda for each source file The information in this data file is very dependent on the structure of the generated code, so you must use the same source code and the same optimization options for both compilations.
Merci pour le "guidage" -- Bruno Causse http://perso.wanadoo.fr/othello
dans l'article 431e2361$0$20305$636a15ce@news.free.fr, tonton à
tonton-lists@team1664.org a écrit le 7/09/05 1:16 :
voir man gcc section -fbranch-probabilities et -fprofile-arcs
merci
-fbranch-probabilities
After running a program compiled with -fprofile-arcs (see Options for
Debugging Your Program or gcc), you can compile it a second time using
-fbranch-probabilities, to improve optimizations based on the number of
times each branch was taken. When the program compiled with -fprofile-arcs
exits it saves arc execution counts to a file called sourcename.gcda for
each source file The information in this data file is very dependent on the
structure of the generated code, so you must use the same source code and
the same optimization options for both compilations.
Merci pour le "guidage"
--
Bruno Causse
http://perso.wanadoo.fr/othello
dans l'article 431e2361$0$20305$, tonton à a écrit le 7/09/05 1:16 :
voir man gcc section -fbranch-probabilities et -fprofile-arcs
merci
-fbranch-probabilities After running a program compiled with -fprofile-arcs (see Options for Debugging Your Program or gcc), you can compile it a second time using -fbranch-probabilities, to improve optimizations based on the number of times each branch was taken. When the program compiled with -fprofile-arcs exits it saves arc execution counts to a file called sourcename.gcda for each source file The information in this data file is very dependent on the structure of the generated code, so you must use the same source code and the same optimization options for both compilations.
Merci pour le "guidage" -- Bruno Causse http://perso.wanadoo.fr/othello