Collect Customized Data with the Advanced View

This tutorial shows how to do more advanced profiling using an advanced view of an experiment to customize triggers and actions. The tutorial is divided into the following steps:

To run PIX for the first time, you may want to use the basic view of the experiment instead.

Step 1 - Launch PIX

Launch PIX from the start menu.

Step 2 - Create an Experiment

Create a new experiment by selecting New Experiment from the File menu. This creates an experiment using the basic view.

Step 3 - Switch to the Advanced View

Click the More Options button to switch from the basic view to the advanced view.

Figure 1.  Advanced View

Step 4 - Choose a Target Program

Click the Target Program tab. Choose the HDRCubeMap sample as the target program.

Step 5 - Customize a Trigger

Click the Triggers/Actions tab. Since this is a new experiment, PIX displays a default trigger (Program Start) identified with a capital T and a single default action (Unspecified Action) identified with a capital A.

A trigger is an event that causes PIX to take an action. You can add more triggers and actions by clicking the T and A buttons in the Triggers/Actions toolbar. Multiple actions can be attached to each trigger.

To set the trigger event, select the T icon with the text program start. In the trigger type drop down select the Frame option. Enter 30 in the frame text box that appears.

This initializes PIX to trigger an event at frame 30. The next step is to associate an action with the event.

Step 6 - Customize an Action

The action defines what PIX does when the event occurs. To customize the action, select the unspecified action. In the Action Type drop down box that is displayed, select Set Call Capture. This will display a second box called Capture Type. Select single-frame capture.

This trigger/action combination tells PIX to perform a single-frame capture for frame 30.

Step 7 - Collect the Data

Click the Start Experiment button to launch the experiment.

Figure 2.  Start Experiment Button

PIX will launch the target program and collect the data specified by the experiment.

Figure 3.  HDRCubeMap Sample

PIX displays the current frame over the top of the upper left corner of the target program. When the current frame is greater than 30, close the target program by clicking the window close button (the x in the top right corner).

Figure 4.  Close Button

When the target program closes, PIX automatically displays the PIXRun file, displaying the single-frame-capture data. Analyze the Results. For help analyzing run files, see Run Files.

See Also

Tutorials