[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: MSR question
Thanks for the suggestions. I'll look into it, but I don't think perfctr
is P4 compatible yet.
-
Hai
On Sat, 9 Nov 2002, John Levon wrote:
> On Fri, Nov 08, 2002 at 04:47:53PM -0500, Hai Huang wrote:
>
> > performance counters is the same as msrs. It's the same as when you are
> > doing an rdtsc, you're really just reading a msr. However, the msr
> > description written in system developer's manual v3 is so convoluted, I'm
> > having a hard time trying to understand which cccr, escr msrs need to
> > be set in order to count the number of memory accesses. Maybe this isn't
> > the right place to ask... Oh well, thanks anyway.
>
> Read some code that handles them, eg. vtune, perfctr, oprofile
>
> regards
> john
>
--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive: http://mail.nl.linux.org/kernelnewbies/
FAQ: http://kernelnewbies.org/faq/