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. - Hai On Fri, 8 Nov 2002, Zwane Mwaikambo wrote: > On Thu, 7 Nov 2002, Hai Huang wrote: > > > Hi, > > > > That's what I'm trying to find out. Pentium 4's MSRs got much more > > complicated than previous architectures. I guess there are multiple MSRs > > that need to be setup to be able to count the total number of memory > > accesses. Any help is appreciated. > > Get System Developer's Manual volume3, i think what you're looking for is > performance counters. > > Zwane > -- > function.linuxpower.ca > -- Kernelnewbies: Help each other learn about the Linux kernel. Archive: http://mail.nl.linux.org/kernelnewbies/ FAQ: http://kernelnewbies.org/faq/