cuda.bindings.nvml.device_get_pcie_throughput#
- cuda.bindings.nvml.device_get_pcie_throughput(
- intptr_t device,
- int counter,
Retrieve PCIe utilization information. This function is querying a byte counter over a 20ms interval and thus is the PCIe throughput over that interval. :param device: The identifier of the target device. :type device: intptr_t :param counter: The specific counter that should be queried ``nvmlPcieUtilCounter_t``. :type counter: PcieUtilCounter :returns: Reference in which to return throughput in KB/s. :rtype: unsigned int .. seealso:: `nvmlDeviceGetPcieThroughput`