diff options
author | Romain Guy <romainguy@google.com> | 2012-02-13 17:47:10 -0800 |
---|---|---|
committer | Romain Guy <romainguy@google.com> | 2012-02-13 17:47:10 -0800 |
commit | a676ad7e34c9afbaafaeca8c3fe96e95c518828e (patch) | |
tree | 4a48c68a0359e4c6776761b55fc5f2e51317a68d /tools | |
parent | 75400e775e7f291720aa43fbe6bf2b4ab41265b1 (diff) | |
download | frameworks_base-a676ad7e34c9afbaafaeca8c3fe96e95c518828e.zip frameworks_base-a676ad7e34c9afbaafaeca8c3fe96e95c518828e.tar.gz frameworks_base-a676ad7e34c9afbaafaeca8c3fe96e95c518828e.tar.bz2 |
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
Diffstat (limited to 'tools')
0 files changed, 0 insertions, 0 deletions