⇤ ← Revision 1 as of 2011-03-04 01:04:09
Size: 221
Comment: Profile-guided Optimization
|
Size: 247
Comment: Add to CheatSheet category
|
Deletions are marked like this. | Additions are marked like this. |
Line 8: | Line 8: |
---- CategoryCheatSheet |
Using profile-guided optimization (PGO)
gcc -O3 -march=native -pg -fprofile-generate ...
# Run a benchmark or program's typical load
gcc -O3 -march=native -fprofile-use ...