Port-powerpc archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

RE: Performance Monitoring Capabilities in PowerPC (PMC counters and MMCR ctrl registers)



At 05:58 PM 2/6/2003, Dheeraj Pandey wrote:

> pmc is used on arm (xscale) and i386.  the pmc stuff has not yet been
> defined for powerpc yet.  We really do need it for powerpc
> and we should figure which of the PMC counter we should support.

I really like Linux's implementation of using /proc filesystem to get/set
PMC. Anyhow, the set of PMC counters to support can always be refined with
time. If we start supporting some of the basic ones, e.g.

for MPC750:

PMC1:
   6 - # of cycles spent in table search for ITLB accesses
   7 - # of L2 hits

[chop]

Sadly the MPC7410 has different enumerations.  So we will need to maintain
a neutral list of events and translate to the processor specific variant
(if one exists).

--
Matt Thomas               Internet:   matt%3am-software.com@localhost
3am Software Foundry      WWW URL:    http://www.3am-software.com/bio/matt/
Cupertino, CA             Disclaimer: I avow all knowledge of this message




Home | Main Index | Thread Index | Old Index