Skip to content

Commit 116acdf

Browse files
committed
Added PmuConfig for Intel Arrow Lake
This commit adds `0xc0660` as Intel Arrow Lake.
1 parent d7a8309 commit 116acdf

2 files changed

Lines changed: 5 additions & 1 deletion

File tree

‎src/PerfCounters.cc‎

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,8 @@ enum CpuMicroarch {
114114
IntelSapphireRapid,
115115
IntelEmeraldRapid,
116116
IntelMeteorLake,
117-
LastIntel = IntelMeteorLake,
117+
IntelArrowLake,
118+
LastIntel = IntelArrowLake,
118119
FirstAMD,
119120
AMDF15 = FirstAMD,
120121
AMDZen,
@@ -202,6 +203,7 @@ struct PmuConfig {
202203
static const PmuConfig pmu_configs[] = {
203204
{ IntelEmeraldRapid, "Intel EmeraldRapid", 0x5111c4, 0, 0, 125, PMU_TICKS_RCB },
204205
{ IntelSapphireRapid, "Intel SapphireRapid", 0x5111c4, 0, 0, 125, PMU_TICKS_RCB },
206+
{ IntelArrowLake, "Intel Arrowlake", 0x100005111c4, 0, 0, 125, PMU_TICKS_RCB },
205207
{ IntelMeteorLake, "Intel Meteorlake", 0x5111c4, 0, 0, 125, PMU_TICKS_RCB },
206208
{ IntelRaptorlake, "Intel Raptorlake", 0x5111c4, 0, 0, 125, PMU_TICKS_RCB },
207209
{ IntelAlderlake, "Intel Alderlake", 0x5111c4, 0, 0, 125, PMU_TICKS_RCB },

‎src/PerfCounters_x86.h‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -96,6 +96,8 @@ static CpuMicroarch compute_cpu_microarch() {
9696
return IntelEmeraldRapid;
9797
case 0xa06a0:
9898
return IntelMeteorLake;
99+
case 0xc0660:
100+
return IntelArrowLake;
99101
case 0xf20: // Piledriver
100102
case 0x30f00: // Steamroller
101103
return AMDF15;

0 commit comments

Comments
 (0)