heimdallr.utilities.nvidia.bindings.nvmlDeviceFreezeNvLinkUtilizationCounter

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

Freeze the NVLINK utilization counters.

Freeze 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)

    freeze: NVML_FEATURE_ENABLED(1) = freeze the rx and tx counters

    NVML_FEATURE_DISABLED(0) = unfreeze the rx and tx counters :param counter: