Marking up Your Application for Viewing in the Intel® GPA Platform Analyzer

Intel® Graphics Performance Analyzers SDK includes several samples demonstrating how to use the capabilities of Intel® ITT in order to mark up your application for viewing in the Intel® GPA Platform Analyzer. The following sections explain how to build and run the samples.

Building the Samples

  1. Go to the SDK Samples directory <INSTALL_DIR>sdk. By default, it is C:Program FilesIntelGPA2012 R1sdksamples.
  2. Open the solution file for the version of the Microsoft* Visual Studio* you have installed.  


    You will need Administrator permission to open the file in the default location. You can copy the samples directory to any other directory on your machine. If you do so, make sure you update the Include and Lib paths to point to the Intel GPA SDK include and libs directories.

  3. In Visual Studio, select Build >Build Solution. You should see executables for each of the samples in the sdkSamplesrelease<debug>x32<x64> directory.

Setting the Intel® GPA Monitor to Auto-detect

  1. Make sure that the Intel® GPA Monitor is launched.
  2. Click the Intel GPA Monitor icon in the taskbar and select Preferences….
  3. In the Preferences dialog box select the Auto-detect launched application check box.
  4. In the Preferences dialog box make sure the Disable tracing check box is not selected.

Running the Simple Sample

  1. From the Microsoft* Visual Studio* debugger, run simple.exe.
  2. Note that the Intel® GPA Monitor has detected the application. It will be listed in the Analyze Application dialog box.

Setting up a Profile

  1. Select a desired profile from the Active Profile context-menu drop-down list.
  2. Click the Manage Profiles… button. Make sure your desired profile is selected in the list of available profiles on the left.
  3. Go to the Tracing tab and make sure gpa_simple_sample is checked.


    When you mark-up your code and add domains, they will show up here, so you will be able to enable specific domains in which you are interested, while profiling your code.

  4. Click  OK.

Creating a Trace Capture File

  1. Bring the application simple.exe to the foreground. Use the keyboard shortcut to capture traces. By default, the capture keyboard-shortcut combination is Ctrl-Shift-T.
  2. The Intel® GPA Monitor will pop up a message that says Captured Trace <tracename> to indicate that a trace was successfully captured.
  3. Close simple.exe.
  4. From the Start menu, run the Intel® GPA Platform Analyzer.
  5. In the Open Trace Capture File dialog box Connection field, select <This Machine> and click Connect if it is not already connected.
  6. In the Trace Capture Files field select the simple.exe trace file and click Open. Your trace will be displayed.
  7. Use the mouse wheel to zoom in and examine the results. Compare the results to the sample.cpp code, to see how the traces you add show up on the Intel GPA Platform Analyzer.

Marking up Your Application for Viewing in the Intel(R) GPA Platform Analyzer