commit | a676ad7e34c9afbaafaeca8c3fe96e95c518828e | [log] [tgz] |
---|---|---|
author | Romain Guy <romainguy@google.com> | Mon Feb 13 17:47:10 2012 -0800 |
committer | Romain Guy <romainguy@google.com> | Mon Feb 13 17:47:10 2012 -0800 |
tree | 4a48c68a0359e4c6776761b55fc5f2e51317a68d | |
parent | 75400e775e7f291720aa43fbe6bf2b4ab41265b1 [diff] |
New debugging tool in adb shell dumpsys gfxinfo This tool lets you visualize the time it took, in ms, to: - Build display lists ("Draw" phase) - Process display lists ("Process" phase) - Swap GL buffers ("Execute" phase) To use this tool: - adb shell setprop hwui.profile true - adb shell dumpsys gfxinfo <process name> - Copy the profile data and paste it in a spreadsheet - Generate a graph (stacked graph) and enjoy Change-Id: I7840c0ea0f153550425aa798e3ada2f357688cf5