Platform Analysis

If your application is CPU-bound, you can capture trace data during the application run to perform in-depth platform analysis with respect to the CPU and GPU activity distribution. Intel® GPA collects real-time trace data during the application run and provides information on the code execution on the various CPU and GPU cores in your system, so that you can analyze some CPU-based workloads together with GPU-based workloads within a unified time domain. With Intel® GPA, you can:

  • Explore GPU usage and analyze a software queue for GPU engines at each moment of time
  • Analyze GPU usage per DMA packet on a software queue
  • Analyze Microsoft* DirectX API calls (draw calls, buffer locks, resource updates, presents)
  • Correlate CPU and GPU activity and identify whether your application is GPU or CPU bound
  • Explore your application performance for user tasks created with the Intel® ITT API
  • Identify GPU and CPU application frame rate and how it depends on vertical synchronization
  • Explore the performance of your application over time per selected GPU metrics

Intel® GPA provides the following tool for platform analysis:

  • Graphics Trace Analyzer - use this tool to get a more detailed view of the GPU Software Queue. Intel® GPA captures traces for further analysis in Trace Analyzer.

The typical workflow is as follows:

1.

Configure Platform analysis

  1. Launch Graphics Monitor from the Windows* Start menu or Windows* 8 Apps view.
  2. From the Graphics Monitor context menu, open the Graphics Monitor launcher screen and click the Options button.
  3. In the Tracing tab, turn on the Tracing toggle button to enable trace data collection.
  4. Optionally, configure other analysis options, such as a set of default GPU/CPU metrics to monitor for your application.

    Note

  5. From the Graphics Monitor context menu, open the Graphics Monitor launcher screen and navigate to your target Windows* application.

2.

Run Platform analysis

In the Graphics Monitor Launcher Screen, click the Start button to launch the application and start tracing.

To capture the trace data to a file, choose one of the following tools:

  • System Analyzer HUD

    To capture the trace data to a file, press Ctrl+Shift+T. This is a default key combination that can be changed in the Options dialog box: Keyboard Shortcuts tab.

  • System Analyzer

    To capture the trace data, do the following:

    • From the Graphics Monitor context menu, launch the System Analyzer.
    • Connect the System Analyzer to your running application.
    • From the System Analyzer window, modify the list of metrics to monitor, if required.
    • Click the Capture Trace button to create a trace file.

      Note

      By default, trace duration is five seconds. Tracing settings can be changed in the Tracing tab of the Graphics Monitor Options screen.

3.

View collected data

  1. From the Graphics Monitor context menu, launch Graphics Trace Analyzer.

    The Open Trace Capture window opens.

  2. Select and open the captured trace file.

 

For more complete information about compiler optimizations, see our Optimization Notice.