ID3D11DeviceX::GetTimestamps Method

Gets the GPU and CPU timestamps.

Syntax

public:
HRESULT GetTimestamps(
         UINT64 *pGpuTimestamp,
         UINT64 *pCpuRdtscTimestamp
)  

Parameters

pGpuTimestamp
Type: UINT64 *

[out] The GPU timestamp.

pCpuRdtscTimestamp
Type: UINT64 *

[out] The CPU timestamp.

Return value

Type: HRESULT 

One of the Direct3D 11 return codes.

Requirements

Header: Declared in d3d11_x.h.

Library: Use d3d11_x.lib.

See also

Reference

ID3D11DeviceX Interface

ID3D11DeviceX Members