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

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).