How to make profile-guided optimizations in Qtcreator ?
Unsolved
General and Desktop
-
Hi,
how I can use profile-guided optimizations in Qtcreator ? what is the proper xxx.pro flags?
This is general usage :
g++ -O3 -fprofile-generate [more params here, like -march=native ...] -o executable_name // run my program's benchmarks, or something to stress its most common path g++ -O3 -fprofile-use [more params here, like -march=native...] -o executable_name
first its producing profile-generate . thand second compile using it