NetBSD/sys/arch/mips/include/pmc.h
briggs 0b956d0b8b Implement pmc(9) -- An interface to hardware performance monitoring
counters.  These counters do not exist on all CPUs, but where they
do exist, can be used for counting events such as dcache misses that
would otherwise be difficult or impossible to instrument by code
inspection or hardware simulation.

pmc(9) is meant to be a general interface.  Initially, the Intel XScale
counters are the only ones supported.
2002-08-07 05:14:47 +00:00

8 lines
251 B
C

/* $NetBSD: pmc.h,v 1.1 2002/08/07 05:15:34 briggs Exp $ */
/*
* Performance counters are "architecturally recommended" on MIPS
* Some CPUs have them implemented, and some not.
* Please feel free to add support for those that are implemented.
*/