Le 24/12/2017 à 14:00, Kornel Benko a écrit :
But does it apply to MSVC? I could not see
In cmake we have Debug, Release, RelWithDebInfo, MinSizeRel.
But no profiling for MSVC. Explicitly disabled by Peter Kümmel.
And he knows better.

Well, profiling should be done with correct optimization (one wants to understand the performance of the relase version) and with debug information so that windows can tell me which function is a problem.

Looking a bit around, I found this:
https://msdn.microsoft.com/en-us/library/ms182372.aspx

So it might be that a release build is enough for profiling. I will experiment with this next week.

In INSTALL:
        The `profiling' build type uses the -fno-omit-frame-pointer option with 
gcc
But again: what to do for MSVC? I am as clueless as before.

I do not think this is needed.

JMarc

Reply via email to