cpc.3cpc (43449cdc) cpc.3cpc (281939df)
1.\" Copyright (c) 2008, Sun Microsystems, Inc. All Rights Reserved.
2.\" The contents of this file are subject to the terms of the Common Development and Distribution License (the "License"). You may not use this file except in compliance with the License.
3.\" You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE or http://www.opensolaris.org/os/licensing. See the License for the specific language governing permissions and limitations under the License.
4.\" When distributing Covered Code, include this CDDL HEADER in each file and include the License file at usr/src/OPENSOLARIS.LICENSE. If applicable, add the following below this CDDL HEADER, with the fields enclosed by brackets "[]" replaced with your own identifying information: Portions Copyright [yyyy] [name of copyright owner]
5.\" Copyright (c) 2019, Joyent, Inc.
6.\" Copyright 2021 Oxide Computer Company
1.\" Copyright (c) 2008, Sun Microsystems, Inc. All Rights Reserved.
2.\" The contents of this file are subject to the terms of the Common Development and Distribution License (the "License"). You may not use this file except in compliance with the License.
3.\" You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE or http://www.opensolaris.org/os/licensing. See the License for the specific language governing permissions and limitations under the License.
4.\" When distributing Covered Code, include this CDDL HEADER in each file and include the License file at usr/src/OPENSOLARIS.LICENSE. If applicable, add the following below this CDDL HEADER, with the fields enclosed by brackets "[]" replaced with your own identifying information: Portions Copyright [yyyy] [name of copyright owner]
5.\" Copyright (c) 2019, Joyent, Inc.
6.\" Copyright 2021 Oxide Computer Company
7.Dd January 22, 2021
7.Dd March 30, 2021
8.Dt CPC 3CPC
9.Os
10.Sh NAME
11.Nm cpc
12.Nd hardware performance counters
13.Sh DESCRIPTION
14Modern microprocessors contain
15.Em hardware performance counters

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

135.El
136.Ss AMD Processor Specific Events
137The following manual pages provide more detailed information on the
138events available for the specific AMD processor models.
139The covered processor families are listed in hexadecimal.
140.Bl -tag -width Xr
141.It Xr amd_f17h_zen1_events 3CPC
142AMD Family 17h Zen 1 processors, including models 00-2fh.
8.Dt CPC 3CPC
9.Os
10.Sh NAME
11.Nm cpc
12.Nd hardware performance counters
13.Sh DESCRIPTION
14Modern microprocessors contain
15.Em hardware performance counters

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

135.El
136.Ss AMD Processor Specific Events
137The following manual pages provide more detailed information on the
138events available for the specific AMD processor models.
139The covered processor families are listed in hexadecimal.
140.Bl -tag -width Xr
141.It Xr amd_f17h_zen1_events 3CPC
142AMD Family 17h Zen 1 processors, including models 00-2fh.
143Include Ryzen, ThreadRipper, and EPYC branded processors.
143Includes Ryzen, ThreadRipper, and EPYC branded processors.
144.It Xr amd_f17h_zen2_events 3CPC
145AMD Family 17h Zen 2 processors, including models 30-7fh.
144.It Xr amd_f17h_zen2_events 3CPC
145AMD Family 17h Zen 2 processors, including models 30-7fh.
146Include Ryzen, ThreadRipper, and EPYC branded processors.
146Includes Ryzen, ThreadRipper, and EPYC branded processors.
147.It Xr amd_f17h_zen3_events 3CPC
148AMD Family 19h Zen 3 processors, including models 00-0fh.
149Includes EPYC branded processors.
147.El
148.Ss Using Attributes
149Some processors have advanced performance counter capabilities that are
150configured with attributes.
151The
152.Xr cpc_walk_attrs 3CPC
153function can be used to determine the names of attributes supported by
154the underlying processor.

--- 74 unchanged lines hidden ---
150.El
151.Ss Using Attributes
152Some processors have advanced performance counter capabilities that are
153configured with attributes.
154The
155.Xr cpc_walk_attrs 3CPC
156function can be used to determine the names of attributes supported by
157the underlying processor.

--- 74 unchanged lines hidden ---