Skip to content

Adapt arm#273

Open
lydd2024 wants to merge 4 commits intogao-sun:masterfrom
lydd2024:adapt_arm
Open

Adapt arm#273
lydd2024 wants to merge 4 commits intogao-sun:masterfrom
lydd2024:adapt_arm

Conversation

@lydd2024
Copy link
Copy Markdown

Adapt arm cpu gpu display

luyi added 4 commits February 27, 2026 20:27
- Add AppleSiliconSensors.swift for reading temperature via IOHID API
- Use PMU tdie sensors for CPU/GPU temperature on Apple Silicon Macs
- Skip SMC calls on arm64 to avoid assertion failures
- Disable SwiftFormat build script for compatibility
- Display individual core usage with progress bars
- Show P-core (blue) and E-core (green) labels on Apple Silicon
- Add per-core temperature from PMU tdie sensors
- Calculate real-time usage from CPU tick deltas
- Add localization for cpu.cores
- Add resolvedDeviceId for Apple Silicon GPUs without device-id
- Use IOAccelerator PerformanceStatistics for GPU usage
- Fallback to AppleSiliconSensors for GPU temperature
- Display GPU core count in menu view
- Match Apple Silicon GPUs by prefix instead of PCI ID
@github-actions github-actions bot added the needs review PR needs review label Feb 27, 2026
@betterlmy
Copy link
Copy Markdown

我感觉你可以自己基于他仓库二开一下了 他的开源协议是MIT协议的

Copy link
Copy Markdown
Collaborator

@jevonmao jevonmao left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

看起来没什么大问题 But I don’t have deep expertise in the low level ARM API specifics, so it’s possible I missed something there...worth a second set of eyes from someone more familiar with that layer.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

needs review PR needs review

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants