heimdallr.utilities.nvidia.bindings.nvmlDeviceGetNvLinkUtilizationControl

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

Get NVLINK utilization counter control information

Get the NVLINK utilization counter control information for the specified counter, 0 or 1. Please refer to nvmlNvLinkUtilizationControl_t for the structure definition. [Note: nvmlNvLinkUtilizationControl_t not documented]

Parameters
  • device – The identifier of the target device

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

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

Returns

The nvmlNvLinkUtilizationControl_t object (an integer)

Return type

control