[][src]Function nvapi_sys::gpu::pstate::NvAPI_GPU_GetCurrentPstate

pub unsafe fn NvAPI_GPU_GetCurrentPstate(
    hPhysicalGPU: NvPhysicalGpuHandle,
    pCurrentPstate: *mut NV_GPU_PERF_PSTATE_ID
) -> NvAPI_Status

This function retrieves the current performance state (P-State).