Home | History | Annotate | Download | only in debugging

Lines Matching full:systrace

1 page.title=Analyzing UI Performance with Systrace
2 page.tags=systrace,speed
23 <li><a href="{@docRoot}tools/help/systrace.html">Systrace</a></li>
32 <p>The Systrace tool allows you to collect and inspect timing information across an entire Android
42 <p>Systrace helps you analyze how the execution of your application fits into the many running
44 timeline. In order to analyze your app with Systrace, you first collect a trace log of your app, and
48 <img src="{@docRoot}images/systrace/overview.png" alt="Systrace example overview" id="figure1" />
50 <strong>Figure 1.</strong> An example Systrace, showing 5 seconds of scrolling an app when it
70 and kernel work queues, require that you have root access to the device. However, most Systrace log
73 <p>Systrace traces can be run either from
74 a <a href="{@docRoot}tools/help/systrace.html#options">command line</a> or from a
75 <a href="{@docRoot}tools/help/systrace.html#gui">graphical user interface</a>. This guide focuses on
87 $ cd android-sdk/platform-tools/systrace
88 $ python systrace.py --time=10 -o mynewtrace.html sched gfx view wm
94 <p>For more information on the available options for running Systrace, see the
95 <a href="#options-4.3">Systrace</a> help page.</p>
100 <p>To use Systrace effectively with devices running Android 4.2 and lower,
111 <p>To set trace tags for Systrace using the command-line:</p>
116 $ cd android-sdk/platform-tools/systrace
117 $ python systrace.py --set-tags=gfx,view,wm
127 <p>To set trace tags for Systrace using the device user interface:</p>
150 $ python systrace.py --cpu-freq --cpu-load --time=10 -o mytracefile.html
156 <p>For more information on the available options for running Systrace, see the
157 <a href="#options-pre-4.3">Systrace</a> help page.</p>
178 <img src="{@docRoot}images/systrace/frame-unselected.png" alt="Zoomed in view of a frame" id="figure2" />
180 <strong>Figure 2.</strong> Systrace display after zooming in on a long-running frame.
194 <p>Systrace does automatic analysis of the events in the trace, and highlights many performance
197 <img src="{@docRoot}images/systrace/frame-selected.png" alt="Problematic frame selected" id="figure3" />
217 <img src="{@docRoot}images/systrace/frame-selected-alert-tab.png" alt="Alert tab shown" id="figure4" />
278 <p>When using application-level tracing with Systrace, you must specify the package name of your
281 <a href="{@docRoot}tools/help/systrace.html">Systrace usage guide</a>.</p>