Skip to content

fix: support all Apple Silicon powermetrics formats including Pro/Max/Ultra hybrid format#5

Merged
inureyes merged 1 commit into
mainfrom
feature/apple-silicon-pro-max-ultra-support
Jul 10, 2025
Merged

fix: support all Apple Silicon powermetrics formats including Pro/Max/Ultra hybrid format#5
inureyes merged 1 commit into
mainfrom
feature/apple-silicon-pro-max-ultra-support

Conversation

@inureyes

Copy link
Copy Markdown
Member

Summary

  • Fixed P-CPU and E-CPU gauge display showing zero values on Apple Silicon machines
  • Added support for all three Apple Silicon powermetrics output formats
  • Enhanced parser to handle different cluster naming conventions across chip variants

Changes

  • Updated powermetrics parser to detect and handle three distinct formats:
    • Standard format (M2/M3/M4 Pro/Max): Single E-Cluster and P-Cluster
    • Hybrid format (M1 Pro): Single E-Cluster with numbered P0/P1-Clusters
    • Ultra format (M1/M2 Ultra): All numbered clusters (E0/E1, P0/P1/P2/P3)
  • Added comprehensive test coverage using real powermetrics output from M1 Pro, M3 Pro, and M1 Ultra
  • Parser automatically averages values for numbered clusters while using direct values for standard clusters

Test Plan

  • Added 16 unit tests covering all Apple Silicon formats
  • Tested with real powermetrics output from M1 Pro, M3 Pro, and M1 Ultra machines
  • All tests pass successfully
  • Built and tested release binary

This fixes the issue where P-CPU and E-CPU utilization gauges were always showing 0% on Apple Silicon machines.

@inureyes inureyes added the type:bug Something isn't working label Jul 10, 2025
@inureyes inureyes changed the title fix: support all Apple Silicon powermetrics formats including M1 Pro hybrid format fix: support all Apple Silicon powermetrics formats including Pro/Max/Ultra hybrid format Jul 10, 2025
@inureyes inureyes self-assigned this Jul 10, 2025
@inureyes inureyes merged commit dc14bc6 into main Jul 10, 2025
3 checks passed
@inureyes inureyes deleted the feature/apple-silicon-pro-max-ultra-support branch July 10, 2025 17:13
@inureyes inureyes added priority:high High priority issue status:done Completed labels Sep 10, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

priority:high High priority issue status:done Completed type:bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant