2N/A * The contents of this file are subject to the terms of the 2N/A * Common Development and Distribution License (the "License"). 2N/A * You may not use this file except in compliance with the License. 2N/A * See the License for the specific language governing permissions 2N/A * and limitations under the License. 2N/A * When distributing Covered Code, include this CDDL HEADER in each 2N/A * If applicable, add the following below this CDDL HEADER, with the 2N/A * fields enclosed by brackets "[]" replaced with your own identifying 2N/A * information: Portions Copyright [yyyy] [name of copyright owner] 2N/A * Copyright (c) 1999, 2011, Oracle and/or its affiliates. All rights reserved. 2N/A * Possible cpc_set_t states: 2N/A int cs_fd;
/* file descriptor of cpc dev */ 2N/A * cpc_t handle for CPCv1 clients. 2N/A * Implementation-private system call used by libcpc 2N/A * These two are only used for backwards compatibility to the Obsolete CPCv1. 2N/A#
endif /* __sparc || __i386 */ 2N/A * This is common between i386 and amd64, because amd64 implements %tick. 2N/A * Currently only used by the cpc tools to print the label atop the CPU ticks 2N/A#
endif /* __i386 || __amd64 */ 2N/A * UltraSPARC I, II, III and IV processors 2N/A * The performance counters on these processors allow up to two 32-bit 2N/A * performance events to be captured simultaneously from a selection 2N/A * of metrics. The metrics are selected by writing to the performance 2N/A * control register, and subsequent values collected by reading from the 2N/A * performance instrumentation counter registers. Both registers are 2N/A * priviliged by default, and implemented as ASRs. 2N/A * "Well known" bitfields in the UltraSPARC %pcr register 2N/A * The interfaces in libcpc should make these #defines uninteresting. 2N/A * Pentium I, II and III processors 2N/A * These CPUs allow pairs of events to captured. 2N/A * The hardware counters count up to 40-bits of significance, but 2N/A * only allow 32 (signed) bits to be programmed into them. 2N/A * Pentium I and Pentium II processors are programmed differently, but 2N/A * the resulting counters and timestamps can be handled portably. 2N/A * "Well known" bit fields in the Pentium CES register 2N/A * The interfaces in libcpc should make these #defines uninteresting. 2N/A * "Well known" bit fields in the Pentium Pro PerfEvtSel registers 2N/A * The interfaces in libcpc should make these #defines uninteresting. 2N/A#
endif /* _LIBCPC_IMPL_H */