Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

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:
© 2017 Microsoft