Capture a trace
Connect to your device and start the capture in Graphics Analyzer.
- Launch Graphics Analyzer:
- On Windows, open the Windows Start menu, navigate to the Arm Mobile Studio folder, and select the Graphics Analyzer shortcut.
- On macOS, use Spotlight to search for Graphics Analyzer or go to the
<install_directory>/graphics_analyzer/guifolder, and double-click the
- On Linux, navigate to the location where you extracted the package, go to the
graphics_analyzer/guidirectory, and run the
- Select Open the Device Manager from the Debug menu.
- Select your connected device from the list of Android devices.
- Select the application you want to debug
- Select Trace Activity.
Graphics Analyzer connects to your device and installs the layer driver and daemon application that it uses to communicate with it.
- Optionally, select Trace Config and select which API assets are captured. Only enable the asset types you need. The more asset types you enable, the slower the application will run, the more memory is required, and the generated trace file will be larger.
- Perform your test scenario on the device. Graphics Analyzer displays the trace data as it receives it from the device.
- When you get to a problem area, use the pause, step and play buttons to locate a frame that you want to analyze more closely:
- Click the camera icon to capture the frame buffer output at the current frame.
- Optionally, capture extra frame data by enabling the following modes:
- Shader map
- Fragment count
- To stop tracing, click .
All the frames are listed in the Trace Outline view. The frames where you've captured extra data are shown with an icon, to identify the type of frame capture you performed.
- To filter the frames to just those where you've captured extra data, use the Show Only Frames With Features Enabled option
- Expand a frame to see the renderpasses and draw calls within it.
- Select frames, renderpasses and draw calls to explore their data. Refer to the Graphics Analyzer user guide information about the different data views.
- Save or export the trace file, using options under the File menu.