linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Accessing performance counters for a processor in a multi-processor environment
@ 2005-04-04 21:57 Abhinkar, Sameer
  0 siblings, 0 replies; only message in thread
From: Abhinkar, Sameer @ 2005-04-04 21:57 UTC (permalink / raw)
  To: linux-kernel

Hi there,

I'm a newbie in Linux kernel development and hopefully my question has
some quick solution..

I'm trying to access performance counters on a dual Xeon processor
machine (both processors are 32-bit and HT enabled). Since each
processor (logical/physical) has their own performance counter, I'd like
to get the numbers for a processor. Is there a way I can do some
pre-work before executing rdpmc instruction to set up the context to
access counter information of a certain processor? Or, what is the best
way to do get the counter information for a certain processor in a
multi-processor environment.

If anybody has some information, I'd really grateful..

Thanks in advance,

Regards,
Sameer

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2005-04-04 22:08 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-04-04 21:57 Accessing performance counters for a processor in a multi-processor environment Abhinkar, Sameer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).