用命令行:
cd android-sdk-linux/platform-tools/systrace python systrace.py --time=10 -o trace.html sched gfx view wm 用浏览器打开trace.html
用android studio:
tools->android->android device monitor点左上角那个“capture system wide trace using Android systrace”,如图所示
打开trace.html的放大缩小和移动
放大:w缩小:s左移:a右移:d
转载请注明原文地址: https://ju.6miu.com/read-668198.html