The API is open, It seems just to call the method NVAPI_INTERFACE NvAPI_GPU_GetPstates20 ( __in NvPhysicalGpuHandle hPhysicalGpu,
__inout NV_GPU_PERF_PSTATES20_INFO * pPstatesInfo
http://docs.nvidia.com/gameworks/content/gameworkslibrary/coresdk/nvapi/group__gpupstate.html#gaeffe0838ca9850b9984fa9be117f637eDetailed Description
The GPU performance state APIs are used to
get and set various performance levels on a per-GPU basis. P-States are GPU active/executing performance capability and power consumption states.
P-States range from P0 to P15, with P0 being the highest performance/power state, and P15 being the lowest performance/power state. Each P-State maps to a performance level. Not all P-States are available on a given system. The definition of each P-States are currently as follows:
P0/P1 - Maximum 3D performance
P2/P3 - Balanced 3D performance-power
P8 - Basic HD video playback
P10 - DVD playback
P12 - Minimum idle power consumption
..
Here is the method to call:
NVAPI_INTERFACE NvAPI_GPU_GetPstates20 ( __in NvPhysicalGpuHandle hPhysicalGpu,
__inout NV_GPU_PERF_PSTATES20_INFO * pPstatesInfo
)
DESCRIPTION: This API retrieves all performance states (P-States) 2.0 information.
P-States are GPU active/executing performance capability states. They range from P0 to P15, with P0 being the highest performance state, and P15 being the lowest performance state. Each P-State, if available, maps to a performance level. Not all P-States are available on a given system. The definition of each P-States are currently as follow:
P0/P1 - Maximum 3D performance
P2/P3 - Balanced 3D performance-power
P8 - Basic HD video playback
P10 - DVD playback
P12 - Minimum idle power consumption
TCC_SUPPORTED
Since:
Release: 295
SUPPORTED OS: Windows XP and higher
Parameters:
[in] hPhysicalGPU GPU selection
[out] pPstatesInfo P-States information retrieved, as documented in declaration above
Returns:
This API can return any of the error codes enumerated in NvAPI_Status. If there are return error codes with specific meaning for this API, they are listed below.