D3DKMT_PRESENT_STATS_DWM 结构 (d3dkmthk.h)

桌面窗口管理器的当前状态 (DWM) 。

语法

typedef struct _D3DKMT_PRESENT_STATS_DWM {
  UINT                         PresentCount;
  UINT                         PresentRefreshCount;
  D3DKMT_ALIGN64 LARGE_INTEGER PresentQPCTime;
  UINT                         SyncRefreshCount;
  D3DKMT_ALIGN64 LARGE_INTEGER SyncQPCTime;
  UINT                         CustomPresentDuration;
} D3DKMT_PRESENT_STATS_DWM;

成员

PresentCount

可为 hDevice 指定的设备排队的当前操作数。

PresentRefreshCount

当前刷新计数。

PresentQPCTime

当前 QPC (查询性能计数器) 时间。

SyncRefreshCount

同步刷新计数。

SyncQPCTime

同步 QPC 时间。

CustomPresentDuration

自定义演示持续时间。

要求

要求
Header d3dkmthk.h