android: view cpu usage of processes
Is there a process manager or task viewer for android that shows how much CPU percentage each process or even each thread in a pro开发者_开发技巧cess takes up?
Thanks!
By default this is not enabled. You just need to capture traces in those cases you would like to. Here you got a nice example: http://developer.android.com/guide/developing/tools/traceview.html
Apart from that, Replica Island uses those methods if you would like to see a working example www.code.google.com/p/replicaisland/
精彩评论