Skip to content

fix(cpu): show Super cores on M5 Macs instead of calling every core Performance - #18

Merged
WolffTech merged 2 commits into
mainfrom
fix/m5-core-detection
Nov 12, 2026
Merged

WolffTech merged 2 commits into
mainfrom
fix/m5-core-detection

Conversation

@WolffTech

Copy link
Copy Markdown
Owner

On M5 Macs, Barometry listed every core as a Performance core. Apple renamed the core tiers with M5: the fastest cores are now Super cores, and the M5 Pro and Max replace Efficiency cores with a new mid-tier called Performance. Barometry assumed the M1–M4 layout, so an M5 Max showed 18 Performance cores and its clock readings were mislabeled or missing.

Chip Fastest Slower
M1–M4 Performance Efficiency
Base M5 Super Efficiency
M5 Pro / Max Super Performance

Barometry now classifies cores by the tier names macOS reports (hw.perflevelN.name) and matches them to the device tree's per-core cluster types, so each chip shows its real layout. The CPU details show a Super row and S-labeled cells in the core grid, and every tier gets its own clock speed, including the new M5 Pro/Max Performance clusters.

Testing

  • swift test passes, with new cases for the M1–M4, base M5, M5 Pro/Max, and multi-die layouts
  • Ran topology and frequency sampling on an M5 Max: 12 Performance + 6 Super cores, with clocks reported for both tiers
  • App builds with xcodegen generate and xcodebuild, at each commit

- Add a Super core kind and class perflevels by hw.perflevelN.name
- Map device tree cluster types E, M, P to perflevels by tier
- Show Super cores in the dashboard core grid and summary rows
- Cover M1-M4, base M5, M5 Pro/Max, and multi-die layouts in tests
- Report a frequency per core kind instead of fixed E and P fields
- Read MCPU channels used by M5 Pro/Max Performance clusters
- Find missing voltage-state tables through pmgr acc-clusters
- Use the fastest active tier as the headline CPU clock
@WolffTech
WolffTech merged commit 90d8063 into main Nov 12, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant