android - How to get the accurate CPU Usage per process and process Idle CPU Time -
i'hv been struggling accurate cpu usage per process , process idle cpu time.. tried " top " command proc/[pid]/stat folder still trying luck..
top command gives cpu usage processes running in fg(foreground) , bg(background) not accurate feel.. because shows %cpu 0, if process running in background.. other way? please
i have found way myself.. using
- proc/[pid]/stat -> per process cpu usage 14th , 15th parameter
- proc/stat -> processes cpu consumption @ same time
Comments
Post a Comment