diff --git a/smctemp.cc b/smctemp.cc index 0e9218c..60bd53c 100644 --- a/smctemp.cc +++ b/smctemp.cc @@ -449,6 +449,12 @@ double SmcTemp::GetCpuTemp() { // CPU core 8 sensors.emplace_back(static_cast(kSensorTp0r)); } else if (cpumodel.find("m2") != std::string::npos) { // Apple M2 + // CPU efficient cores 1 through 4 on M2 Max 12 Core Chip + sensors.emplace_back(static_cast(kSensorTp1h)); + sensors.emplace_back(static_cast(kSensorTp1t)); + sensors.emplace_back(static_cast(kSensorTp1p)); + sensors.emplace_back(static_cast(kSensorTp1l)); + // CPU core 1 sensors.emplace_back(static_cast(kSensorTp01)); // CPU core 2 diff --git a/smctemp.h b/smctemp.h index fad6af0..a6ab380 100644 --- a/smctemp.h +++ b/smctemp.h @@ -76,6 +76,10 @@ constexpr UInt32Char_t kSensorTp0f = "Tp0f"; constexpr UInt32Char_t kSensorTp0j = "Tp0j"; constexpr UInt32Char_t kSensorTp0n = "Tp0n"; constexpr UInt32Char_t kSensorTp0r = "Tp0r"; +constexpr UInt32Char_t kSensorTp1h = "Tp1h"; +constexpr UInt32Char_t kSensorTp1t = "Tp1t"; +constexpr UInt32Char_t kSensorTp1p = "Tp1p"; +constexpr UInt32Char_t kSensorTp1l = "Tp1l"; // GPU constexpr UInt32Char_t kSensorTg05 = "Tg05"; constexpr UInt32Char_t kSensorTg0D = "Tg0D";