fix(api/device): fix device.pcie_tx_throughput() returns PCIe RX throughput due to a typo in argument (#176)

This commit is contained in:
Isaac K. Ko 2025-08-06 15:14:31 +09:00 committed by GitHub
parent 246f385c81
commit c54a7fb3f6
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -1490,7 +1490,7 @@ class Device: # pylint: disable=too-many-instance-attributes,too-many-public-me
return libnvml.nvmlQuery(
'nvmlDeviceGetPcieThroughput',
self._handle,
libnvml.NVML_PCIE_UTIL_RX_BYTES,
libnvml.NVML_PCIE_UTIL_TX_BYTES,
)
return NA