GPUClockSpeed

Gets the GPU clock speed of a GPU metric sample.

Syntax

Copied!

ADLX_RESULT     GPUClockSpeed (adlx_int* data)

Parameters

  1. [out] data adlx_int* The pointer to a variable where the GPU clock speed (in MHz) is returned.

Return Value

If the GPU clock speed is successfully returned, ADLX_OK is returned.

If the GPU clock speed is not successfully returned, an error code is returned.

Refer to ADLX_RESULT for success codes and error codes.

Requirements

Header

include “IPerformanceMonitoring.h”

Minimum version

1.0