thermal-engine是一套通过检测android设备上的各个sensor是否温度过高,来限制cpu频率、cpu热插拔、gpu频率、carmera帧率,modem、LCD等各个模块的性能。

温控模块分为用户层的thermal-engine和kernel层的KTM,当thermal-engine起来后会接管KTM的温控,thermal-engine的算法分为Threshold control,Dynamic control,结构如下:

温控daemon(一)概述

静态算法就比如温度到达多少直接cpu拔核;而动态算法就比如cpu调频,温度到多少度的时候,会限制cpu的最高频率。

我们再来看下整个thermal的架构,thermal-engine主要控制wlan、cpu、gpu、modem等的策略,具体工作是KTM。

温控daemon(一)概述

这一章我们简要的讲解下thermal的大致架构,下一章我们从thermal-engine的代码开始分析

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-08-17
  • 2021-11-11
  • 2021-06-10
猜你喜欢
  • 2021-12-12
  • 2022-01-16
  • 2022-12-23
  • 2021-12-05
  • 2021-06-17
  • 2022-02-10
  • 2022-12-23
相关资源
相似解决方案