On Tue, Mar 19, 2002 at 10:52:40AM +1100, Paul Mackerras wrote:
> The G4 has 4 performance monitor counters that you can set up to
> measure things like ITLB misses, DTLB misses, cycles spent doing
> tablewalks for ITLB misses and DTLB misses, etc.
> What I need to do now is
> to put some better infrastructure for using those counters in place
> and try your program using those counters instead of the timebase.
Sounds like a good candidate for the first non-x86 port of oprofile[1].
Write the kernel part, and all the nice userspace tools come for free.
There are also a few other perfctr abstraction projects, which are
linked off the oprofile pages somewhere iirc.
-- | Dave Jones. http://www.codemonkey.org.uk | SuSE Labs - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
This archive was generated by hypermail 2b29 : Sat Mar 23 2002 - 22:00:17 EST