feat: added powermetrics read to the SMC helper (maybe will be used in the feature)

This commit is contained in:
Serhiy Mytrovtsiy
2023-12-21 18:18:54 +01:00
parent 62ac20a1c8
commit c3c44652c2
5 changed files with 63 additions and 21 deletions

View File

@@ -32,13 +32,6 @@ public struct CPU_Limit: Codable {
var speed: Int = 0
}
public struct CPU_Frequency: Codable {
var ECores: Int? = nil
var PCores: Int? = nil
var power: Int? = nil
var cores: [Int] = []
}
public class CPU: Module {
private let popupView: Popup
private let settingsView: Settings