Software Tuning, Performance Optimization & Platform Monitoring
Discussion regarding monitoring and software tuning methodologies, Performance Monitoring Unit (PMU) of Intel microprocessors, and platform updating.
Announcements
The Intel sign-in experience has changed to support enhanced security controls. If you sign in, click here for more information.

-g option slows down execution

cabral__frederico
170 Views

Hi all.

Has anyone experienced problems with execution time by using icc -g option, 

in order to analise the source code's behavior inside VTune ?

I also have some trouble generating vectorization report when compiling with icc -g 

option ? My *.optrpt file is generated empty if I use icc -g ...

 

Thanks in advance,

Fred. L. Cabral

 

0 Kudos
1 Reply
TimP
Black Belt
170 Views

As debug options change default to -O0, you must set -O2 or O3 explicitly.

Typically, you need -debug inline-debug-info and maybe a new parallel debug info option which I haven't seen adequately documented for VTune, but it may be covered in the video which came out today.

Reply