User Guide

Intel® VTune™ Profiler User Guide

ID 766319
Date 11/07/2023
Public

A newer version of this document is available. Customers should click here to go to the newest version.

Document Table of Contents

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.

Prerequisites

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

Syntax

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

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

NOTE:

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

vtune -help collect graphics-rendering

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: