• Intel® Graphics Performance Analyzers 2020 R1
  • 12/20/2019
  • Public Content
Contents

为 DirectX 9/10/11 帧测定 GPU 时间

在分析图形应用程序的同时,也许需要测定 GPU 时间,以便了解应用程序在捕获的场景中的每个区域内耗费了多少时间。
要测定 GPU 时间并正态化所有可用的指标:
  1. Scene Overview
    场景概览)
    窗格中
    , 从下拉列表选择
    Regions Only
    (仅区域)
    Full Tree
    完整树)
    视图。
  2. 选择 GPU Duration(GPU 持续时间)指标。
  3. Old
    (如果没有发生任何改变)中或在
    New
    (如果修改了任何东西)
    中按时间排列区域,并观察选定区域中哪个耗费更多时间。
    可使用
    D3DPerf_BeginEvent/EndEvent
    API 调用来为每个区域提供有意义的名称,如 terrain pass 或 lighting effects,而不要使用默认的编号名称。
  4. 勾选最耗时的区域的复选框,以将其突出显示在
    Visualization
    窗格中
下面的截屏显示图形应用程序在捕获的场景内的“39 到 67”区域内耗费更多时间。

Product and Performance Information

1

Intel's compilers may or may not optimize to the same degree for non-Intel microprocessors for optimizations that are not unique to Intel microprocessors. These optimizations include SSE2, SSE3, and SSSE3 instruction sets and other optimizations. Intel does not guarantee the availability, functionality, or effectiveness of any optimization on microprocessors not manufactured by Intel. Microprocessor-dependent optimizations in this product are intended for use with Intel microprocessors. Certain optimizations not specific to Intel microarchitecture are reserved for Intel microprocessors. Please refer to the applicable product User and Reference Guides for more information regarding the specific instruction sets covered by this notice.

Notice revision #20110804