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 4,957 times
5
-
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
6
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
- 82,434
- 38
- 201
- 248