Community support for Analyzers (Intel VTune™ Profiler, Intel Advisor, Intel Inspector)

How to count operations

Hi everyone,

I need to calculate the overall operations quantity for certain program function. These operations include additions, shifts and comparison (as they are similar in complexity). In forum threads I found only one topic which concerns FLOPS counting: but this is not what I need.

I have several processors to test application: Core2Duo, Pentium III, Celeron. VTune Performance Analyzer version: 9.0 build: 719. Is there any event counter to calculate exact operations quantity which function performs? If there is not, what I have to do?

I tried "micro operation any retired" counter, but got confused with big differences in this counter value with several activity runs. As I realize, the overall operation quantity is a constatnt value for application with constant input parameters, am I right?

So I asking for your help with this problem.

Best Regards,
0 Kudos
0 Replies