Bharat Sharma
Bharat Sharma

Reputation: 3966

Calculate CPU usage for an application

I need to calculate the cpu usage of a perticular process in android device. I have tried to find it out using top command. Problem is that it is completely different from the android assistant which is showing cpu usage in RTCPU percentange. I dont know what is RTCPU. Can anyone explain me ?

I also want to know that CPU usage I have found using top command is correct or not...

Upvotes: 0

Views: 2746

Answers (1)

Brian S
Brian S

Reputation: 3234

I also used top to get the CPU usage of my application. You need to know the PID of the application, but after that you can query it from the results of Top. See my answer here.

Retrieve CPU with Top

Upvotes: 1

Related Questions