instruction histogram

Open discussion of PAPI.

instruction histogram

Postby mahmood » Fri Sep 16, 2011 2:58 am

Dear all
I want to know if PAPI is able to create a histogram of retired instruction. This will help to find if a program is branch intensive, load/store intensive, integer ALU intensive and so on. Will PAPI do that?
mahmood
 
Posts: 4
Joined: Fri Sep 16, 2011 2:50 am

Re: instruction histogram

Postby danterpstra » Fri Sep 16, 2011 10:36 am

PAPI counts events. Those events could be retired instructions, retired branches, retired loads, etc. Depending on how many counters your processor supports and which events are countable by that processor, it would be possible to count events in each of these categories and build your own histogram.
danterpstra
 
Posts: 63
Joined: Wed Jun 23, 2010 2:21 pm

Re: instruction histogram

Postby mahmood » Fri Sep 16, 2011 12:21 pm

Let me ask in this way.
Suppose a program contains:
add....
mov...
fadd....
load....
mov...
load....

What I want is this histogram:
add: 1
fadd: 1
mov: 2
load: 2

Is PAPI capable of doing that?
mahmood
 
Posts: 4
Joined: Fri Sep 16, 2011 2:50 am

Re: instruction histogram

Postby vweaver1 » Fri Sep 16, 2011 1:43 pm

no, PAPI cannot do that.

You want a tool like Intel's pin which I think includes a tool that does exactly what you describe.
vweaver1
 
Posts: 50
Joined: Wed Feb 17, 2010 4:02 pm

Re: instruction histogram

Postby mahmood » Sat Sep 17, 2011 3:17 am

ok I will ask them. thanks
mahmood
 
Posts: 4
Joined: Fri Sep 16, 2011 2:50 am


Return to General discussion

Who is online

Users browsing this forum: Bing [Bot] and 1 guest