Android : How to quantitatively monitor workload of the main thread?

on Wednesday, September 10, 2014


In applications/programs that have user interaction component, we always need to care about amount of work that need to be done by the main thread, otherwise, in an extreme case the whole program will hang.


My question is how we can quantitatively monitor workload of the main thread? For example, we can specify TID of the main thread and log its CPU cycle and memory usage. I wonder whether there is any effective approach or tool that we can use for platform like Android.


0 comments:

Post a Comment