Messages in this thread | | | Date | Tue, 19 Mar 2002 01:57:23 +0100 | From | Dave Jones <> | Subject | Re: 7.52 second kernel compile |
| |
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.
[1] http://oprofile.sf.net
-- | 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/
| |