mirror of
https://github.com/XuehaiPan/nvitop.git
synced 2026-05-15 14:15:55 -06:00
fix(api/device): fix device.pcie_tx_throughput() returns PCIe RX throughput due to a typo in argument (#176)
This commit is contained in:
parent
246f385c81
commit
c54a7fb3f6
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue