Re: How to find all valid events for the CPU
Michael Petlan <[email protected]>
| Newsgroups | gmane.linux.oprofile |
|---|---|
| Organization | Red Hat |
| Message-ID | <1433416171.15036.316.camel@Rudolf-RHEL-7> |
On Thu, 2015-06-04 at 10:51 +0000, Mahmood N wrote: > Thanks. Just want to be sure that when I want to measure the IPC, I > have to include RETIRED_INSTRUCTIONS and CPU_CLK_UNHALTED. > Basically yes. ocount -e CPU_CLK_UNHALTED,RETIRED_INSTRUCTIONS ./some_app and then IPC=RETIRED_INSTRUCTIONS/CPU_CLK_UNHALTED Michael > > Is that correct? > > Regards, > Mahmood > > > > > > > ------------------------------------------------------------------------------