安卓app测试之cpu监控,如何获取监控的cpu数据呢?
一、通过Dumpsys 来取值
1、adb shell dumpsys cpuinfo
二、top
1、top -d 1|grep packageName
adb shell "top -d 1|grep tv.danmaku.bili"