Difference between Android Monitor method trace and Android device monitor

I profiled the same application for processor time using both Android Device Monitor (profiling methods) and Android Monitor (profiling methods), however I get different results. Any ideas on how they differ in their main work?

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 I observe, d in Android Monitors (2) there is no way to select profiling based on trace or fetch. In addition, there is no way to change the size of the method trace buffer, so you can only collect a few seconds of data.

I am curious if someone is more or less accurate than another.

+5
source share

Source: https://habr.com/ru/post/1258889/


All Articles