File tree Expand file tree Collapse file tree 2 files changed +10
-0
lines changed Expand file tree Collapse file tree 2 files changed +10
-0
lines changed Original file line number Diff line number Diff line change @@ -449,6 +449,12 @@ double SmcTemp::GetCpuTemp() {
449
449
// CPU core 8
450
450
sensors.emplace_back (static_cast <std::string>(kSensorTp0r ));
451
451
} else if (cpumodel.find (" m2" ) != std::string::npos) { // Apple M2
452
+ // CPU efficient cores 1 through 4 on M2 Max 12 Core Chip
453
+ sensors.emplace_back (static_cast <std::string>(kSensorTp1h ));
454
+ sensors.emplace_back (static_cast <std::string>(kSensorTp1t ));
455
+ sensors.emplace_back (static_cast <std::string>(kSensorTp1p ));
456
+ sensors.emplace_back (static_cast <std::string>(kSensorTp1l ));
457
+
452
458
// CPU core 1
453
459
sensors.emplace_back (static_cast <std::string>(kSensorTp01 ));
454
460
// CPU core 2
Original file line number Diff line number Diff line change @@ -76,6 +76,10 @@ constexpr UInt32Char_t kSensorTp0f = "Tp0f";
76
76
constexpr UInt32Char_t kSensorTp0j = " Tp0j" ;
77
77
constexpr UInt32Char_t kSensorTp0n = " Tp0n" ;
78
78
constexpr UInt32Char_t kSensorTp0r = " Tp0r" ;
79
+ constexpr UInt32Char_t kSensorTp1h = " Tp1h" ;
80
+ constexpr UInt32Char_t kSensorTp1t = " Tp1t" ;
81
+ constexpr UInt32Char_t kSensorTp1p = " Tp1p" ;
82
+ constexpr UInt32Char_t kSensorTp1l = " Tp1l" ;
79
83
// GPU
80
84
constexpr UInt32Char_t kSensorTg05 = " Tg05" ;
81
85
constexpr UInt32Char_t kSensorTg0D = " Tg0D" ;
You can’t perform that action at this time.
0 commit comments