linux kernel CPU loading的计算方法?
时间:10-02
整理:3721RD
点击:
[DESCRIPTION]
想知道linux kernel CPU loading的计算方法?用于自行开发APK 读取CPU 相关资讯
[PLATFORM]
MT6589
[SOLUTION]
在user space可以透過讀取/proc/stat 接口,各參數的含義請參考網路資料
mtk Implement @ kernel space:
mediatek\kernel\drivers\thermal\mtk_thermal_monitor.c
get_sys_cpu_usage_info_ex()
