I am new for android programming.How can we get CPU usage per application in android? your help will be more helpful
two approaches:
adb shell "top -n 1"
adb shell dumpsys cpuinfo