graphics-rendering Command Line Analysis

Use the graphics-rendering value to launch the GPU Rendering analysis (preview) and estimate your code performance based on the GPU usage per engine and GPU hardware metrics.

It focuses on the following usage models:

  • System-wide profiling on all virtual domains (Dom0, DomUs) running under the Xen* hypervisor to identify domains that take too many resources and introduce a bottleneck for the whole platform. Use the -target-system option to specify a remote machine connected to your host via SSH.

  • Profiling of OpenGL-ES applications running on Linux* systems to detect performance-critical API calls. For this mode, specify the application to analyze or a process to attach to, using the -target-process or -target-pid options.


For successful analysis, make sure to configure your system as follows:


$ amplxe-cl [--target-system=ssh:username@hostname[:port]]--collect graphics-rendering [--knob <knobName=knobValue>] -- [target] [target_options]

Knobs: gpu-sampling-interval, gpu-counters-mode=render-basic.


For the most current information on available knobs (configuration options) for the GPU Rendering, enter:

$ amplxe-cl -help collect graphics-rendering


This example runs system-wide GPU Rendering analysis for a remote Xen target:

host>./amplxe-cl --target-system=ssh:user1@ –-collect graphics-rendering --duration 0

This example profiles an OpenGL-ES app running the GPU Rendering analysis:

host>./amplxe-cl –-collect graphics-rendering --target-process process1

What's Next

When the data collection is complete, do one of the following to view the result:

For more complete information about compiler optimizations, see our Optimization Notice.
Select sticky button color: 
Orange (only for download buttons)