Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

CPU usage per application in android

Tags:

android

I am new for android programming.How can we get CPU usage per application in android? your help will be more helpful

like image 621
Prashant Avatar asked Dec 26 '12 15:12

Prashant


People also ask

What is CPU usage in mobile?

CPU consumption simply tells you how much memory is used by your application.


2 Answers

Use adb Commands:

adb shell top -m 10 
like image 190
K_Anas Avatar answered Sep 28 '22 03:09

K_Anas


Source: Technique for indentifying android app CPU usage

  • Linux:

    adb shell top -m 10 | grep packagename

  • Windows:

    adb shell top -m 10 | FINDSTR packagename

like image 32
escalator Avatar answered Sep 28 '22 01:09

escalator