Subject: re: PMC Counter are not supported
To: matthew green <mrg@eterna.com.au>
From: Stephan Thesing <thesing@cs.uni-sb.de>
List: tech-kern
Date: 07/10/2005 00:39:20
Hello,

On Sun, 10 Jul 2005, matthew green wrote:

> Date: Sun, 10 Jul 2005 07:00:13 +1000
> From: matthew green <mrg@eterna.com.au>
> To: kamel derouiche <derouiche_dz@yahoo.fr>
> Cc: tech-kern@NetBSD.org
> Subject: re: PMC Counter are not supported 
> 
>
> pmc(4) is only supported on some machines.  non-SMP pentium3 systems
> only, last i checked.

not quite.
In fact, Intel 585 works (Pentium, Pentium II, Pentium III), as well
as AMD K7 (Athlon).

I assume, the processor of the original poster is a Pentium 4.
These have a different event counter hardware and interface, which would 
necessiate a change in the API for pmc (I think).

As for multiprocessor machines, the current performance counting interface 
simply does not work, as there is no way to bind performance counter settings 
to processes/CPUs  ATM (or processes to CPUs).

Best regards....
 	Stephan

=  Tel.: +49-681-302-5571      = Universitaet des Saarlandes =
=  Fax.: +49-681-302-3065      = Postfach 15 11 50           =
=  Compiler Research Group     = 66041 Saarbruecken          =
=  FR 6.2 - Informatik         = GERMANY                     =