android - GPU 监控在 Android Studio 1.4 中不起作用

标签 android android-studio gpu monitoring

我今天将 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/

相关文章:

android - 如何将我的 Android 手机屏幕投影到我的电脑显示器上?

c++ - 在 DirectX 12 中,切换管道状态对象的性能如何?

android - Android Studio 3.1.3添加新 Activity 时的奇怪行为

android - 在Gradle无法正常工作的情况下将AAR文件发布到Maven Central

swift - 应用程序在前台使用 CoreML,GPU 在前台,当应用程序转到后台时,无法切换到 CPU

c++ - GPU 读取和存储大型矩阵文件

Java Android 游戏开发

android - 如何将播放和暂停按钮组合成一个按钮

android - 具有 native 代码支持的跨平台移动框架

java - 导入库后 Android MySQL 连接器 (JDBC) 错误