Measuring PAPI_TOT_INS

Measuring PAPI_TOT_INS

Postby devenrai » Tue Sep 11, 2012 6:48 am


I am using PAPI 5.0.0, and I am running my code on a Dual-Core AMD Opteron(tm) Processor 2218.

I am trying to measure total number of instructions completed "PAPI_TOT_INS".

However, I notice that the value returned is always constant, at 8135. This seems to be independent of the logic of the function in which measurements are being made.

I query the details about this particular event:

papi_avail -e PAPI_TOT_INS
Available events and hardware information.
PAPI Version :
Vendor string and code : AuthenticAMD (2)
Model string and code : Dual-Core AMD Opteron(tm) Processor 2218 (65)
CPU Revision : 3.000000
CPUID Info : Family: 15 Model: 65 Stepping: 3
CPU Max Megahertz : 2600
CPU Min Megahertz : 1000
Hdw Threads per core : 1
Cores per Socket : 2
NUMA Nodes : 2
CPUs per Node : 2
Total CPUs : 4
Running in a VM : no
Number Hardware Counters : 4
Max Multiplex Counters : 64

Event name: PAPI_TOT_INS
Event Code: 0x80000032
Number of Native Events: 1
Short Description: |Instr completed|
Long Description: |Instructions completed|
Developer's Notes: ||
Derived Type: |NOT_DERIVED|
Postfix Processing String: ||
Native Code[0]: 0x40000000 |RETIRED_INSTRUCTIONS|
Number of Register Values: 0
Native Event Description: |Retired Instructions|


Can anyone please tell me what's going on?


Devendra Rai.
Posts: 1
Joined: Tue Sep 11, 2012 6:41 am

Return to Classic PAPI (read-only)

Who is online

Users browsing this forum: No registered users and 0 guests