Software Tuning, Performance Optimization & Platform Monitoring
Discussion regarding monitoring and software tuning methodologies, Performance Monitoring Unit (PMU) of Intel microprocessors, and platform updating.

-g option slows down execution

cabral__frederico
299 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
Honored Contributor III
299 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.

0 Kudos
Reply