diff options
author | Romain Guy <romainguy@google.com> | 2011-07-21 14:56:34 -0700 |
---|---|---|
committer | Romain Guy <romainguy@google.com> | 2011-07-21 14:56:34 -0700 |
commit | 7eabe55db6b113f83c2cefcd06812648927de877 (patch) | |
tree | a105d90d8addbce9bb457b4bef974ce2f699fc81 /tests | |
parent | ac4159549c10dbe428d42980278c0e43ecc8d93f (diff) | |
download | frameworks_base-7eabe55db6b113f83c2cefcd06812648927de877.zip frameworks_base-7eabe55db6b113f83c2cefcd06812648927de877.tar.gz frameworks_base-7eabe55db6b113f83c2cefcd06812648927de877.tar.bz2 |
Add looper profiling to adb shell am
To profile the looper, run the following command:
adb shell am profile looper start <process> <file>
adb shell am profile looper stop <process>
Change-Id: I781f156e473d7bdbb6d13aaffeeaae88bc01a69f
Diffstat (limited to 'tests')
-rw-r--r-- | tests/HwAccelerationTest/src/com/android/test/hwui/ListActivity.java | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/tests/HwAccelerationTest/src/com/android/test/hwui/ListActivity.java b/tests/HwAccelerationTest/src/com/android/test/hwui/ListActivity.java index 1493ab9..13b6129 100644 --- a/tests/HwAccelerationTest/src/com/android/test/hwui/ListActivity.java +++ b/tests/HwAccelerationTest/src/com/android/test/hwui/ListActivity.java @@ -93,12 +93,9 @@ public class ListActivity extends Activity { } public void startProfiling(View v) { - ViewDebug.startLooperProfiling(new File(Environment.getExternalStorageDirectory(), - "looper.trace")); } public void stopProfiling(View v) { - ViewDebug.stopLooperProfiling(); } @Override |