ID3D12CommandQueue::GetTimestampFrequency method (d3d12.h)

This method is used to determine the rate at which the GPU timestamp counter increments.

Syntax

HRESULT GetTimestampFrequency(
  [out] UINT64 *pFrequency
);

Parameters

[out] pFrequency

Type: UINT64*

The GPU timestamp counter frequency (in ticks/second).

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

See also

ID3D12CommandQueue