Android documentation says
you can use the methods of the Trace class to add instrumentation to
your application code and see the results in a Systrace report.
I have added the following methods to my code
Trace.beginSection("test-trace");
// block of code
Trace.endSection();
Now where can I check the results of this section. I run the systrace tool on the monitor of the Android device and record it for 30 seconds (a click is made on the button that executes the above block). It generates a trace.html file, but how can I get the above section information from this html file.
source
share