Community
cancel
Showing results for 
Search instead for 
Did you mean: 
55 Views

-g option slows down execution

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
55 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