5

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
  • 82,434
  • 38
  • 201
  • 248
ssk
  • 8,685
  • 23
  • 89
  • 168
  • 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

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