heimdallr.utilities.nvidia.bindings.nvmlDeviceResetNvLinkUtilizationCounter

heimdallr.utilities.nvidia.bindings.nvmlDeviceResetNvLinkUtilizationCounter(device, link, counter)[source]

Reset the NVLINK utilization counters.

Reset the NVLINK utilization counters. Both the receive and transmit counters are operated on by this function.

Parameters
  • device – The identifier of the target device

  • link – Specifies the NvLink link to be queried (uint)

  • counter – Specifies the counter that should be reset (0 or 1)