3 ms·
Intel's Fortran compiler does this - they call it PGO (profile guided optimization) - you can instrument your code to generate a profile, which you then feed ba
by neutronicus 16y ago
Intel's Fortran compiler does this - they call it PGO (profile guided optimization) - you can instrument your code to generate a profile, which you then feed back into the compiler along with your code.
- dkersten 16y agoGCC, MSVC and ICC all have profile-guided optimization. From what I hear, it can produce significant performance boosts too, at least in some cases. The problem with PGO is that you need a representative test which you can run automatically. The benefit of this idea is that the information could be gathered on any runs - not just ones specifically for PGO. Otherwise, yes, PGO does this. Of course, what I want (as explained in my other comments) is more than what PGO offers.