Difference between Android Monitor Method trace and Android Device Monitor

814 views Asked by At

I profiled the same app for cpu time using both Android Device Monitor (method profiling) and Android Monitor (method profiling), however, I get different results. Any ideas on how they are different in their underlying working?

1) Android Device Monitor https://developer.android.com/studio/profile/traceview.html

2) Android Monitors https://developer.android.com/studio/profile/am-basics.html

As for as I observe,d there is no option in Android Monitors (2) to select either trace-based or sampling-based profiling. Moreover, there is no option for changing the buffer size of method trace so only a few seconds of data can be collected.

I'm curious if one is more or less accurate than the other.

0

There are 0 answers