I am using Intel Advisor XE 2013 (build 270011) on Linux. I am using the Survey analysis to profile my program (compiled with gcc and flags: -g and -O3). However, every time that I run the analysis I get different execution percentages for a loop of interest, although everytime I am using the same input data and parameters. The total execution time of my program is around 0.72 s.
I want to ask you:
Is it expected to have different execution percentages when profiling using Advisor?
Are there any needed compiler/linker flags that I forgot?
Should I increase the execution time of my program? Should I decrease the sampling time?
Thank you very much!