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.
- Parameters:
device (intptr_t) – The identifier of the target device.
counter (PcieUtilCounter) – The specific counter that should be queried
nvmlPcieUtilCounter_t.
- Returns:
Reference in which to return throughput in KB/s.
- Return type:
unsigned int
See also
nvmlDeviceGetPcieThroughput