I tried looking for any difference between events and samples but could not find a definitive answer.
Secondly, is there any why to find out number of times any (stall causing) event has occurred? For example, I am measuring RESOURCE_STALLS.ANY. I know how many cycles have been spent in various events. But, I would like to know how many times the samples were taken.
Thanks in advance,
Another way of asking the same question above.
I ran VTUNE for finding out RESOURCE_STALLS.ANY for my FFT code. Here is the results I got:
Does this mean that every time there is some kind of RESOURCE_STALLS activity, there is a latency of 1E+05 cycles? This seems like an unrealistic figure.
I am trying to find an average number of stall cycles every time there is a stall in the pipeline.
But, can you please tell me how this will help me calculate:
1- number of cycles spent on RESOURCE_STALLS
2- how many times RESOURCE_STALLS actually occurs?
Why you are seeing resource stalls and howmuchthis impactsyour application depends on a lotof factors. You might want touseUOPS_EXECUTED.CORE_STALL_CYCLES to measure thenumber of cycles where no op is executed. This can serve as a starting point to estimate how often the out-of-order engine is actually stalled.The Performance Analysis Guide for Intel Core i7 Processor and Intel Xeon 5500 processors can give you further guidance on how to analyze the application.