Discovering How Much Time the Graphics Application Spends within Each Region within the Captured Scene
Each region is made up of a number of ergs (that are any DirectX* call which potentially renders one or more pixels to a frame buffer).
To measure GPU time and to normalize all available metrics:
- In the Scene Overview panel, select Regions Only or Full Tree view from the drop-down list.
- Select GPU Duration metric.
- Arrange regions by time in the Old column (if nothing has been changed) or in the New column (if you modified something) and see which of the selected regions takes more time.
You can use the D3DPerf_BeginEvent/EndEvent API calls to provide meaningful names for each region, such as “terrain pass” or “lighting effects”, instead of using the default numbered names.
- Check the check box of the most time-consuming region to highlight it in the Visualization panel.
The following screenshot shows that the graphics application spends more time on the “11 to 38″ region within the captured scene.