GetFPS

Gets the current FPS of AMD Frame Rate Target Control on a GPU.

Syntax

Copied!

ADLX_RESULT     GetFPS (adlx_int* currentFPS)

Parameters

  1. [out] currentFPS adlx_int* The pointer to a variable where the current FPS value of AMD Frame Rate Target Control is returned.

Return Value

If the current FPS is successfully returned, ADLX_OK is returned.

If the current FPS is not successfully returned, an error code is returned.

Refer to ADLX_RESULT for success codes and error codes.

Additional Info

AMD Frame Rate Target Control sets a user-defined target maximum frame rate in full-screen applications to reduce GPU power consumption.

Gaming quality is maintained while GPU power consumption, noise, and heat levels are reduced when running games at higher FPS than the display refresh rate.

Requirements

Header

include “I3DSettings.h”

Minimum version

1.0