Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
This method samples the CPU and GPU timestamp counters at the same moment in time.
Syntax
HRESULT GetClockCalibration(
[out] UINT64 *pGpuTimestamp,
[out] UINT64 *pCpuTimestamp
);
Parameters
[out] pGpuTimestamp
Type: UINT64*
The value of the GPU timestamp counter.
[out] pCpuTimestamp
Type: UINT64*
The value of the CPU timestamp counter.
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 |