Introduction
Set up Arm Performance Studio
Set up an Android application for profiling
Interpret an example Arm Streamline report
Use Arm Streamline to capture data for your application
View an example Performance Advisor report
Create a Performance Advisor report for your application
Analyze your application with Frame Advisor
Debug your application with RenderDoc for Arm GPUs
Analyze shader program performance with Mali Offline Compiler
Next Steps
Complete the following prerequisites:
adb is available with the Android SDK platform tools, which are installed as part of Android Studio.Compile the application with debug enabled, as well as additional options to facilitate call stack unwinding by Streamline.
debuggable true (isDebuggable = true in Kotlin scripts) in the build configuration.To assist with readability and add context, you can optionally include annotations in your code, which are then displayed in Streamline.
To set up your Android device, follow these steps:
On the device, ensure that Developer Mode is enabled.
Enable USB Debugging under Settings > Developer options. If your device asks you to authorize connection to your computer, confirm the connection.
Connect the device to the host through USB and approve the debug connection on the device when prompted.
To test the connection, run the adb devices command in a terminal. If successful, this returns the ID of your device:
adb devices
List of devices attached
ce12345abcdf1a1234 device
If you see that the device is listed as unauthorized, try disabling and re-enabling USB Debugging on the device, and accept the authorization prompt to enable connection to the computer.
Install the debuggable application on the device.
You’ve now set up your Android device and built the application you’ll use for profiling.
Next, you’ll look at an example Arm Streamline report to understand the Streamline component of Arm Performance Studio.