Performance for an interval of a benchmark

Open discussion of PAPI.

Performance for an interval of a benchmark

Postby ayaz_89 » Thu Mar 19, 2015 2:20 pm

I want to use PAPI to observe performance counter registers for a particular instruction patch of an SPEC benchmark. In other words i am only interested in cycles taken by Instruction number 10000000000 to 10500000000. I know we can use PAPI to find out the statistics for the whole benchmark. I was wondering if there is a way to do what I want, considering the fact that any parallel thread in my program would affect the counter register values. Any help will be highly appreciated !
ayaz_89
 
Posts: 1
Joined: Thu Mar 19, 2015 2:12 pm

Re: Performance for an interval of a benchmark

Postby jagode00 » Mon Mar 30, 2015 11:07 am

In other words i am only interested in cycles taken by Instruction number 10000000000 to 10500000000.


It's not quite clear to us what you are trying to do. Are you interested in cycle count or instruction count? Can you please rephrase your question and provide some more details on what you want to do and with what objective.

Thanks,
Heike
jagode00
 
Posts: 41
Joined: Tue Aug 25, 2009 2:12 pm

Re: Performance for an interval of a benchmark

Postby ayazakram_89 » Fri Aug 28, 2015 1:26 pm

Hi, I am interested in both. To accomplish that task, I am using attach3 test case in papi source rep. I run the benchmark as child process and from my parent process I keep on reading child's counters to know when particular number of instructions have been executed (starting point of interval of interest) and then I keep track of cycles count until executed instructions number reach close to the end point of interval of interest. Do you think, this is the right solution or is there a better one ?
ayazakram_89
 
Posts: 3
Joined: Mon Aug 17, 2015 7:01 pm


Return to General discussion (read-only)

Who is online

Users browsing this forum: No registered users and 1 guest

cron