[][src]Function nvml_binding::bindings::nvmlVgpuInstanceGetFBCStats

pub unsafe extern "C" fn nvmlVgpuInstanceGetFBCStats(
    vgpuInstance: nvmlVgpuInstance_t,
    fbcStats: *mut nvmlFBCStats_t
) -> nvmlReturn_t

Retrieves the active frame buffer capture sessions statistics of a vGPU Instance

For Maxwell &tm; or newer fully supported devices.

@param vgpuInstance Identifier of the target vGPU instance @param fbcStats Reference to nvmlFBCStats_t structure contianing NvFBC stats

@return - \ref NVML_SUCCESS if \a fbcStats is fetched - \ref NVML_ERROR_UNINITIALIZED if the library has not been successfully initialized - \ref NVML_ERROR_INVALID_ARGUMENT if \a vgpuInstance is 0, or \a fbcStats is NULL - \ref NVML_ERROR_NOT_FOUND if \a vgpuInstance does not match a valid active vGPU instance on the system - \ref NVML_ERROR_UNKNOWN on any unexpected error