MCPcopy
hub / github.com/AdnanHodzic/auto-cpufreq / avg_temp

Method avg_temp

auto_cpufreq/modules/system_info.py:181–183  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

179
180 @staticmethod
181 def avg_temp() -> int:
182 temps: List[float] = [i.temperature for i in SystemInfo.get_cpu_info()]
183 return int(sum(temps) / len(temps))
184
185 @staticmethod
186 def turbo_on() -> Tuple[bool | None, bool | None]:

Callers 6

get_loadFunction · 0.80
set_powersaveFunction · 0.80
mon_powersaveFunction · 0.80
set_performanceFunction · 0.80
mon_performanceFunction · 0.80
turbo_on_suggestionMethod · 0.80

Calls 1

get_cpu_infoMethod · 0.80

Tested by

no test coverage detected