Skip to content

Most visited

Recently visited

navigation

GPU Monitor

Android Monitor includes a Graphics Processing Unit (GPU) Monitor that gives you a quick visual representation of how much time it takes to render the frames of a UI window. It profiles the amount of time it takes for the render thread to prepare, process, and execute the draw commands. The GPU Monitor can help you to:

For example, if displaying a static photo continues to take GPU resources long after it has finished drawing on the screen, that’s a likely candidate for optimization.

Displaying a Running App in the GPU Monitor

To display an app running on a particular device or emulator in the GPU Monitor:

  1. Meet the prerequisites and dependencies.
  2. Open an app project.
  3. Run the app on a hardware device or emulator.
  4. Display Android Monitor.
  5. Click the Monitors tab and display the GPU Monitor.
  6. Enable the GPU Monitor by clicking Pause to deselect it.
  7. Any GPU usage begins to appear in the GPU Monitor:

    The y-axis is the amount of milliseconds it takes the GPU to execute the different stages of the rendering pipeline. The x-axis records the time elapsed; it starts with seconds, and then minutes and seconds, and so on. The green line indicates 60 frames per second (FPS), and the red line represents 30 FPS.

  8. To stop the GPU Monitor, click Pause again to select it.

GPU Monitor provides a visual representation of the rendering pipeline. For more information about the stages of the rendering pipeline, see Stages and Their Meanings.

This site uses cookies to store your preferences for site-specific language and display options.

Hooray!

This class requires API level or higher

This doc is hidden because your selected API level for the documentation is . You can change the documentation API level with the selector above the left navigation.

For more information about specifying the API level your app requires, read Supporting Different Platform Versions.

Take a one-minute survey?
Help us improve Android tools and documentation.