Skip to content

Commit

Permalink
Added PmuConfig for Intel Arrow Lake
Browse files Browse the repository at this point in the history
This commit adds `0xc0660` as Intel Arrow Lake.
  • Loading branch information
jcpowermac committed Jan 24, 2025
1 parent 8254cbc commit 07e00fb
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/PerfCounters.cc
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,8 @@ enum CpuMicroarch {
IntelSapphireRapid,
IntelEmeraldRapid,
IntelMeteorLake,
LastIntel = IntelMeteorLake,
IntelArrowLake,
LastIntel = IntelArrowLake,
FirstAMD,
AMDF15 = FirstAMD,
AMDZen,
Expand Down Expand Up @@ -202,6 +203,7 @@ struct PmuConfig {
static const PmuConfig pmu_configs[] = {
{ IntelEmeraldRapid, "Intel EmeraldRapid", 0x5111c4, 0, 0, 125, PMU_TICKS_RCB },
{ IntelSapphireRapid, "Intel SapphireRapid", 0x5111c4, 0, 0, 125, PMU_TICKS_RCB },
{ IntelArrowLake, "Intel Arrowlake", 0x5111c4, 0, 0, 125, PMU_TICKS_RCB },
{ IntelMeteorLake, "Intel Meteorlake", 0x5111c4, 0, 0, 125, PMU_TICKS_RCB },
{ IntelRaptorlake, "Intel Raptorlake", 0x5111c4, 0, 0, 125, PMU_TICKS_RCB },
{ IntelAlderlake, "Intel Alderlake", 0x5111c4, 0, 0, 125, PMU_TICKS_RCB },
Expand Down
2 changes: 2 additions & 0 deletions src/PerfCounters_x86.h
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,8 @@ static CpuMicroarch compute_cpu_microarch() {
return IntelEmeraldRapid;
case 0xa06a0:
return IntelMeteorLake;
case 0xc0660:
return IntelArrowLake;
case 0xf20: // Piledriver
case 0x30f00: // Steamroller
return AMDF15;
Expand Down

0 comments on commit 07e00fb

Please sign in to comment.