Deleted Added
full compact
perfmon.h (55205) perfmon.h (92761)
1/*
2 * Copyright 1996 Massachusetts Institute of Technology
3 *
4 * Permission to use, copy, modify, and distribute this software and
5 * its documentation for any purpose and without fee is hereby
6 * granted, provided that both the above copyright notice and this
7 * permission notice appear in all copies, that both the above
8 * copyright notice and this permission notice appear in all

--- 12 unchanged lines hidden (view full) ---

21 * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
22 * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
23 * USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
24 * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
25 * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
26 * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
27 * SUCH DAMAGE.
28 *
1/*
2 * Copyright 1996 Massachusetts Institute of Technology
3 *
4 * Permission to use, copy, modify, and distribute this software and
5 * its documentation for any purpose and without fee is hereby
6 * granted, provided that both the above copyright notice and this
7 * permission notice appear in all copies, that both the above
8 * copyright notice and this permission notice appear in all

--- 12 unchanged lines hidden (view full) ---

21 * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
22 * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
23 * USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
24 * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
25 * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
26 * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
27 * SUCH DAMAGE.
28 *
29 * $FreeBSD: head/sys/i386/include/perfmon.h 55205 1999-12-29 04:46:21Z peter $
29 * $FreeBSD: head/sys/i386/include/perfmon.h 92761 2002-03-20 05:48:58Z alfred $
30 */
31
32/*
33 * Interface to performance-monitoring counters for Intel Pentium and
34 * Pentium Pro CPUs.
35 */
36
37#ifndef _MACHINE_PERFMON_H_

--- 59 unchanged lines hidden (view full) ---

97
98#define _PATH_PERFMON "/dev/perfmon"
99
100#else
101
102/*
103 * Intra-kernel interface to performance monitoring counters
104 */
30 */
31
32/*
33 * Interface to performance-monitoring counters for Intel Pentium and
34 * Pentium Pro CPUs.
35 */
36
37#ifndef _MACHINE_PERFMON_H_

--- 59 unchanged lines hidden (view full) ---

97
98#define _PATH_PERFMON "/dev/perfmon"
99
100#else
101
102/*
103 * Intra-kernel interface to performance monitoring counters
104 */
105void perfmon_init __P((void));
106int perfmon_avail __P((void));
107int perfmon_setup __P((int, unsigned int));
108int perfmon_get __P((int, unsigned int *));
109int perfmon_fini __P((int));
110int perfmon_start __P((int));
111int perfmon_stop __P((int));
112int perfmon_read __P((int, quad_t *));
113int perfmon_reset __P((int));
105void perfmon_init(void);
106int perfmon_avail(void);
107int perfmon_setup(int, unsigned int);
108int perfmon_get(int, unsigned int *);
109int perfmon_fini(int);
110int perfmon_start(int);
111int perfmon_stop(int);
112int perfmon_read(int, quad_t *);
113int perfmon_reset(int);
114
115#endif /* _KERNEL */
116
117/*
118 * Pentium Pro performance counters, from Appendix B.
119 */
120/* Data Cache Unit */
121#define PMC6_DATA_MEM_REFS 0x43

--- 134 unchanged lines hidden ---
114
115#endif /* _KERNEL */
116
117/*
118 * Pentium Pro performance counters, from Appendix B.
119 */
120/* Data Cache Unit */
121#define PMC6_DATA_MEM_REFS 0x43

--- 134 unchanged lines hidden ---