cpc.3cpc (11845c326ad8c691a402c512ccf50d1792fd6aab) cpc.3cpc (e6bda3ff4c6fb3d2cf0980c3f0ed23a2f1826de8)
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.
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 March 10, 2023
6.\" Copyright 2023 Oxide Computer Company
7.Dd March 23, 2023
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

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

138The following manual pages provide more detailed information on the
139events available for the specific AMD processor models.
140The covered processor families are listed in hexadecimal.
141.Bl -tag -width Xr
142.It Xr amd_f17h_zen1_events 3CPC
143AMD Family 17h Zen 1 processors, including models 00-2fh.
144Includes Ryzen, ThreadRipper, and EPYC branded processors.
145.It Xr amd_f17h_zen2_events 3CPC
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

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

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

--- 75 unchanged lines hidden ---
155Includes Ryzen and EPYC branded processors.
156.El
157.Ss Using Attributes
158Some processors have advanced performance counter capabilities that are
159configured with attributes.
160The
161.Xr cpc_walk_attrs 3CPC
162function can be used to determine the names of attributes supported by

--- 75 unchanged lines hidden ---