Gets the GPU and CPU timestamps.
public:
HRESULT GetTimestamps(
UINT64 *pGpuTimestamp,
UINT64 *pCpuRdtscTimestamp
)
pGpuTimestamp
Type: UINT64 *
[out] The GPU timestamp.
pCpuRdtscTimestamp
Type: UINT64 *
[out] The CPU timestamp.
Type: HRESULT
One of the Direct3D 11 return codes.
Header: Declared in d3d11_x.h.
Library: Use d3d11_x.lib.