Andorid 4.3 Show CPU usage

Android 4.3新增开发者选项,帮助分析应用性能并定位渲染问题。可在运行中可视化帧率,并通过颜色区分绘制命令创建、发出及完成等待时间。绿色线条标识60毫秒阈值,便于评估应用是否达到60fps目标。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

On-screen GPU profiling

Android 4.3 adds new developer options to help you analyze your app’s performance and pinpoint rendering issues on any device or emulator.

In the Profile GPU rendering option you can now visualize your app’s effective framerate on-screen, while the app is running. You can choose to display profiling data as on-screen bar or line graphs, with colors indicating time spent creating drawing commands (blue), issuing the commands (orange), and waiting for the commands to complete (yellow). The system updates the on-screen graphs continuously, displaying a graph for each visible Activity, including the navigation bar and notification bar.

A green line highlights the 60ms threshold for rendering operations, so you can assess the your app’s effective framerate relative to a 60 fps goal. If you see operations that cross the green line, you can analyze them further using Systrace and other tools.

转:http://developer.android.com/about/versions/jelly-bean.html#top

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值