I'm trying to find a leak in my app that make the device warms without intensive usage. Is there a way of seeing the number of times a method is called and the CPU time expent for it.
I'm asking that because I don't remember its name now, but for C there is a tool that after compile the app wi开发者_如何学Cth some special parameters, gives that info
Have a look at Profiling with Traceview and dmtracedump. Link
精彩评论