graphics-rendering Command Line Analysis
graphics-rendering
Command Line AnalysisUse 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-systemoption 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-processor-target-pidoptions.
Prerequisites
For successful analysis, make sure to configure your system as follows:
- For Xen virtualization platforms:
- Virtualize CPU performance counters on a Xen platform to enable full-scale event-based sampling.
- Establish a password-less SSH connection to the remote target system with the Xen platform installed.
- To analyze Intel® HD and Intel® Iris® Graphics hardware events on a GPU, make sure to set up your system for GPU analysis
Syntax
vtune
username
@hostname
[:port
]] --collect graphics-rendering [--knob <knobName=knobValue
>] -- [target
] [target_options
]For the most current information on available knobs (configuration options) for the GPU Rendering, enter:
vtune
Example
This example runs system-wide GPU Rendering analysis for a remote Xen target:
host>./vtune --target-system=ssh:user1@172.16.254.1 –-collect graphics-rendering --duration 0
This example profiles an OpenGL-ES app running the GPU Rendering analysis:
host>./vtune –-collect graphics-rendering --target-process process1
What's Next
When the data collection is complete, do one of the following to view the result:
- Use the action to view the data from command line.