补充 GPU 渲染分块、内存与利用率统计,增加只读 SMC 温度及风扇信息和旋转动效。完善电池功率与耗电进程列表,统一首排布局并固定异步加载区域高度。同步验证用例、架构说明和 GPU 能力调研工具。
10 lines
479 B
Swift
10 lines
479 B
Swift
import Foundation
|
|
|
|
/// Fixed read-only operation: no caller-supplied paths or commands.
|
|
@objc protocol SMARTServiceProtocol {
|
|
nonisolated func readFanSpeeds(withReply reply: @escaping ([NSNumber]?) -> Void)
|
|
nonisolated func readSMART(withReply reply: @escaping (NSNumber?, NSNumber?) -> Void)
|
|
nonisolated func readGPUTemperature(withReply reply: @escaping (NSNumber?) -> Void)
|
|
nonisolated func readCPUTemperature(withReply reply: @escaping (NSNumber?) -> Void)
|
|
}
|