MCPcopy Create free account
hub / github.com/dmitry-s93/MControlCenter / getCpuTemp

Method getCpuTemp

src/operate.cpp:156–160  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

154}
155
156int Operate::getCpuTemp() const {
157 if (msiEcHelper.hasCPURealtimeTemperature())
158 return msiEcHelper.getCPURealtimeTemperature();
159 return helper.getValue(cpuTempAddress);
160}
161
162int Operate::getGpuTemp() const {
163 if (msiEcHelper.hasGPURealtimeTemperature())

Callers 1

updateCpuTempMethod · 0.80

Calls 3

getValueMethod · 0.45

Tested by

no test coverage detected