Find app's CPU usage on Android
android, cpu-usage, java
Solution
This question has already been answered here. You can also get a listing using `adb` as follows,
adb shell top -m 10
Problem
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.