Utilities for using PowerPC PMC performance counting registers

Dheeraj Pandey <[email protected]>
Newsgroups gmane.os.netbsd.devel.performance
Message-ID <[email protected]>
I want to set/get Performance Monitor Counting (PMC) registers on PowerPC
MPC750. Basically, I am trying to measure iCache/dCache stats when
applications are running.

I've written some custom code to configure and read the registers from user
space, but am looking for a quick way to host this code-- either in system
calls, or through some pseudo-device's ioctl. The pmc_control() and
pmc_get_info() system calls are yet to be implemented on PowerPC.

In the interest of time, I'll try to host this small piece of code wherever
I get results first. Before I do that, I wanted to know if there were any
utilities that I could look at, that do the same thing for PowerPC-- I know
that mac68k has a "4PM Performance Monitoring Tool" that esentially does the
same thing.

Dheeraj
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.