我今天将 IDE 更新到了 1.4 版本。我在更新日志中读到,现在 Android 监视器 View 中提供了一个新的 GPU 渲染监视器。
所以我按照文档的说明做了:
To enable GPU monitoring, make sure you turn on monitoring for your Android hardware device or emulator under Setting → Developer Options → Profile GPU rendering → In adb shell dumpsys gfxinfo
然后……什么也没发生。我不知道为什么,因为文档还说:
To learn more about the GPU rendering results, check out the developer documentation.
但是“开发人员文档”并未更新,因此它根本没有提及任何有关 GPU 监控的内容。
但是,新的网络监控到目前为止运行良好。顺便说一下,我使用的是 Nexus 5 5.1.1。
我错过了什么吗?
最佳答案
如果您在 adb shell dumpsys gfxinfo 中启用了 GPU 渲染,则必须取消切换 Android Studio 中的暂停图标(图表左侧),以便为所选应用启动 GPU 分析。
再见, 新山。
关于android - GPU 监控在 Android Studio 1.4 中不起作用,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/32882946/