Is there an android API that provides CPU, memory usage of the running app? I would like to tune my processing in the app on the fly based on the cpu usage.
Asked
Active
Viewed 5,011 times
6
-
1see this SO post :: http://stackoverflow.com/questions/3118234/how-to-get-memory-usage-and-cpu-usage-in-android – Eight Jun 07 '12 at 01:04
1 Answers
7
This question has already been answered here. You can also get a listing using adb
as follows,
adb shell top -m 10

Community
- 1
- 1

Alex Lockwood
- 83,063
- 39
- 206
- 250