6

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.

Alex Lockwood
  • 83,063
  • 39
  • 206
  • 250
ssk
  • 9,045
  • 26
  • 96
  • 169
  • 1
    see 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 Answers1

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