c++ - Which compilation option should be set for profiling? -
I need to profile an app compiled with Intel compiler through VC + I'm using VTune for
I understand that in release mode, I will not have debug info, which is necessary to show profiles in my debug mode to debug mode profiling will not be relevant.
What should I do? Is it possible to add debug info in release mode? How do I set this mode?
If so, will I still be able to benefit from all the optimization (inlineing, etc.)?
You must have a profile with optimization enabled (compiler option / o3). The / GE Intel Compiler Switch (for Windows) is for debugging information enabled.
Due to the optimization, due to inlineing some functions may be lost with debugging information, but VTune will face it.
Comments
Post a Comment