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.
Method 2View Memory Usage Again, you must first enable Developer Options, then open the menu from the very bottom of your Settings list or in Settings –> System –> Advanced. Once inside Developer Options, scroll down and choose "Memory." Here you will see your phone's current RAM usage.
This question has already been answered here. You can also get a listing using adb
as follows,
adb shell top -m 10
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With