ID3D12Device::GetGpuHardwareConfigurationX Method

Gets hardware configuration information, currently just the GPU clock frequency.

Syntax

public:
void GetGpuHardwareConfigurationX(
         D3D12XBOX_GPU_HARDWARE_CONFIGURATION *pGpuHardwareConfiguration
)  

Parameters

pGpuHardwareConfiguration
Type: D3D12XBOX_GPU_HARDWARE_CONFIGURATION *

[out] A D3D12XBOX_GPU_HARDWARE_CONFIGURATION structure, on return containing the hardware configuration info.

Return value

Type: void 

This method does not return a value.

Remarks

This API is intended to supersede and replace usage of the #define value D3D11X_XBOX_GPU_CLOCK_FREQUENCY (or any other hardcoded constants representing the GPU’s clock frequency). Titles should replace any usage they have of this constant with this API instead.

The GPU frequency is useful when calculating values derives from GPU performance counters.

Requirements

Header: Declared in d3d12_x.h.

Library: Use d3d12_x.lib.

See also

Reference

ID3D12Device Interface

ID3D12Device Members

GetGpuHardwareConfiguration