ID3D12CommandQueue::GetClockCalibration method

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

pGpuTimestamp [out]

Type: UINT64*

The value of the GPU timestamp counter.

pCpuTimestamp [out]

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

Header

D3d12.h

Library

D3d12.lib

DLL

D3d12.dll

See also

ID3D12CommandQueue

 

 

Show: