Lưu ý
Cần có ủy quyền mới truy nhập được vào trang này. Bạn có thể thử đăng nhập hoặc thay đổi thư mục.
Cần có ủy quyền mới truy nhập được vào trang này. Bạn có thể thử thay đổi thư mục.
This method is used to determine the rate at which the GPU timestamp counter increments.
Syntax
HRESULT GetTimestampFrequency(
[out] UINT64 *pFrequency
);
Parameters
[out] pFrequency
Type: UINT64*
The GPU timestamp counter frequency (in ticks/second).
Return value
Type: HRESULT
This method returns one of the Direct3D 12 Return Codes.
Remarks
For more information, refer to Timing.
Requirements
| Requirement | Value |
|---|---|
| Target Platform | Windows |
| Header | d3d12.h |
| Library | D3d12.lib |
| DLL | D3d12.dll |