Skip to content

v0.2.0 — CPU cluster frequencies + ANE/package power

Choose a tag to compare

@GoodOlClint GoodOlClint released this 07 Jul 16:33
v0.2.0
142e048

Adds per-CPU-cluster frequencies and power, all sudoless via IOReport.

  • cpuClusterFrequenciesMHz — residency-weighted effective MHz per cluster (ECPU/PCPU on M4, MCPU0/MCPU1/PCPU on M5), DVFS tables read from IORegistry voltage-states*.
  • anePowerWatts + packagePowerWatts (CPU+GPU+ANE) from the "Energy Model" counters, matching powermetrics' Combined Power.
  • sample() serialized with a lock; ASMETRICS_DEBUG=1 dumps discovered channels + DVFS tables.
  • Validated on M4 Max Studio + M5 Max, macOS 26 (package power within ~1%).