/* * Copyright (c) 2025-2026, NVIDIA CORPORATION. All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ #ifndef DCGMFIELDS_H #define DCGMFIELDS_H #ifdef __cplusplus extern "C" { #endif #include "dcgm_api_export.h" /***************************************************************************************************/ /** @defgroup dcgmFieldTypes Field Types * Field Types are a single byte. * @{ */ /***************************************************************************************************/ /** * Blob of binary data representing a structure */ #define DCGM_FT_BINARY 'b' /** * 8-byte double precision */ #define DCGM_FT_DOUBLE 'd' /** * 8-byte signed integer */ #define DCGM_FT_INT64 'i' /** * Null-terminated ASCII Character string */ #define DCGM_FT_STRING 's' /** * 8-byte signed integer usec since 1970 */ #define DCGM_FT_TIMESTAMP 't' /** @} */ /***************************************************************************************************/ /** @defgroup dcgmFieldScope Field Scope * Represents field association with entity scope or global scope. * @{ */ /***************************************************************************************************/ /** * Field is global (ex: driver version) */ #define DCGM_FS_GLOBAL 0 /** * Field is associated with an entity (GPU, VGPU...etc) */ #define DCGM_FS_ENTITY 1 /** * Field is associated with a device. Deprecated. Use DCGM_FS_ENTITY */ #define DCGM_FS_DEVICE DCGM_FS_ENTITY /** @} */ /***************************************************************************************************/ /** @defgroup dcgmFieldConstants Field Constants * Constants that represent contents of individual field values. * @{ */ /***************************************************************************************************/ /** * DCGM_FI_CUDA_GPU_COMPUTE_CAPABILITY is 16 bits of major version followed by * 16 bits of the minor version. These macros separate the two. */ #define DCGM_CUDA_COMPUTE_CAPABILITY_MAJOR(x) ((uint64_t)(x) & 0xFFFF0000) #define DCGM_CUDA_COMPUTE_CAPABILITY_MINOR(x) ((uint64_t)(x) & 0x0000FFFF) /** * DCGM_FI_DEV_CLOCKS_EVENT_REASONS is a bitmap of reported clock events * These macros are masks for relevant clocks events, and are a 1:1 map to the NVML * reasons documented in nvml.h. The notes for the header are copied blow: */ /** Nothing is running on the GPU and the clocks are dropping to Idle state * \note This limiter may be removed in a later release */ #define DCGM_CLOCKS_EVENT_REASON_GPU_IDLE 0x0000000000000001LL /** GPU clocks are limited by current setting of applications clocks */ #define DCGM_CLOCKS_EVENT_REASON_CLOCKS_SETTING 0x0000000000000002LL /** The clocks have been optimized to ensure not to exceed currently set power limits */ #define DCGM_CLOCKS_EVENT_REASON_SW_POWER_CAP 0x0000000000000004LL /** HW Slowdown (reducing the core clocks by a factor of 2 or more) is engaged * * This is an indicator of: * - temperature being too high * - External Power Brake Assertion is triggered (e.g. by the system power supply) * - Power draw is too high and Fast Trigger protection is reducing the clocks * - May be also reported during PState or clock change * - This behavior may be removed in a later release. */ #define DCGM_CLOCKS_EVENT_REASON_HW_SLOWDOWN 0x0000000000000008LL /** Sync Boost * * This GPU has been added to a Sync boost group with nvidia-smi or DCGM in * order to maximize performance per watt. All GPUs in the sync boost group * will boost to the minimum possible clocks across the entire group. Look at * the throttle reasons for other GPUs in the system to see why those GPUs are * holding this one at lower clocks. */ #define DCGM_CLOCKS_EVENT_REASON_SYNC_BOOST 0x0000000000000010LL /** SW Thermal Slowdown * * The current clocks have been optimized to ensure the the following is true: * - Current GPU temperature does not exceed GPU Max Operating Temperature * - Current memory temperature does not exceed Memory Max Operating Temperature */ #define DCGM_CLOCKS_EVENT_REASON_SW_THERMAL 0x0000000000000020LL /** HW Thermal Slowdown (reducing the core clocks by a factor of 2 or more) is engaged * * This is an indicator of: * - temperature being too high */ #define DCGM_CLOCKS_EVENT_REASON_HW_THERMAL 0x0000000000000040LL /** HW Power Brake Slowdown (reducing the core clocks by a factor of 2 or more) is engaged * * This is an indicator of: * - External Power Brake Assertion being triggered (e.g. by the system power supply) */ #define DCGM_CLOCKS_EVENT_REASON_HW_POWER_BRAKE 0x0000000000000080LL /** GPU clocks are limited by current setting of Display clocks */ #define DCGM_CLOCKS_EVENT_REASON_DISPLAY_CLOCKS 0x0000000000000100LL /** * Deprecated: Use DCGM_CLOCKS_EVENT_REASON_GPU_IDLE instead */ #define DCGM_CLOCKS_THROTTLE_REASON_GPU_IDLE DCGM_CLOCKS_EVENT_REASON_GPU_IDLE /** * Deprecated: Use DCGM_CLOCKS_EVENT_REASON_CLOCKS_SETTING instead */ #define DCGM_CLOCKS_THROTTLE_REASON_CLOCKS_SETTING DCGM_CLOCKS_EVENT_REASON_CLOCKS_SETTING /** * Deprecated: Use DCGM_CLOCKS_EVENT_REASON_SW_POWER_CAP instead */ #define DCGM_CLOCKS_THROTTLE_REASON_SW_POWER_CAP DCGM_CLOCKS_EVENT_REASON_SW_POWER_CAP /** * Deprecated: Use DCGM_CLOCKS_EVENT_REASON_HW_SLOWDOWN instead */ #define DCGM_CLOCKS_THROTTLE_REASON_HW_SLOWDOWN DCGM_CLOCKS_EVENT_REASON_HW_SLOWDOWN /** * Deprecated: Use DCGM_CLOCKS_EVENT_REASON_SYNC_BOOST instead */ #define DCGM_CLOCKS_THROTTLE_REASON_SYNC_BOOST DCGM_CLOCKS_EVENT_REASON_SYNC_BOOST /** * Deprecated: Use DCGM_CLOCKS_EVENT_REASON_SW_THERMAL instead */ #define DCGM_CLOCKS_THROTTLE_REASON_SW_THERMAL DCGM_CLOCKS_EVENT_REASON_SW_THERMAL /** * Deprecated: Use DCGM_CLOCKS_EVENT_REASON_HW_THERMAL instead */ #define DCGM_CLOCKS_THROTTLE_REASON_HW_THERMAL DCGM_CLOCKS_EVENT_REASON_HW_THERMAL /** * Deprecated: Use DCGM_CLOCKS_EVENT_REASON_HW_POWER_BRAKE instead */ #define DCGM_CLOCKS_THROTTLE_REASON_HW_POWER_BRAKE DCGM_CLOCKS_EVENT_REASON_HW_POWER_BRAKE /** * Deprecated: Use DCGM_CLOCKS_EVENT_REASON_DISPLAY_CLOCKS instead */ #define DCGM_CLOCKS_THROTTLE_REASON_DISPLAY_CLOCKS DCGM_CLOCKS_EVENT_REASON_DISPLAY_CLOCKS /** * GPU Fabric Health Status Mask for various fields can be obtained using the below macro. * Ex - DCGM_GPU_FABRIC_HEALTH_GET(var, _DEGRADED_BW) * @code{.cpp} unsigned int getGpuFabricHealthBwValue(unsigned int healthMask) { return DCGM_GPU_FABRIC_HEALTH_GET(healthMask, _DEGRADED_BW); } * @endcode */ #define DCGM_GPU_FABRIC_HEALTH_GET(var, type) NVML_GPU_FABRIC_HEALTH_GET(var, type) /** * GPU Fabric Health Status Mask for various fields can be tested using the below macro. * Ex - DCGM_GPU_FABRIC_HEALTH_TEST(var, _DEGRADED_BW, _TRUE) // _NOT_SUPPORTED, _TRUE or _FALSE can be used * @code{.cpp} * const char* unmaskGpuFabricHealthBw(unsigned int healthMask) * { * if (DCGM_GPU_FABRIC_HEALTH_TEST(healthMask, _DEGRADED_BW, _NOT_SUPPORTED)) * { * return "not supported"; * } * if (DCGM_GPU_FABRIC_HEALTH_TEST(healthMask, _DEGRADED_BW, _TRUE)) * { * return "true"; * } * if (DCGM_GPU_FABRIC_HEALTH_TEST(healthMask, _DEGRADED_BW, _FALSE)) * { * return "false"; * } * return ""; * } * @endcode */ #define DCGM_GPU_FABRIC_HEALTH_TEST(var, type, val) NVML_GPU_FABRIC_HEALTH_TEST(var, type, val) /** * GPU virtualization mode types for DCGM_FI_DEV_GPU_VIRTUAL_MODE */ typedef enum { DCGM_GPU_VIRTUALIZATION_MODE_NONE = 0, //!< Represents Bare Metal GPU DCGM_GPU_VIRTUALIZATION_MODE_PASSTHROUGH = 1, //!< Device is associated with GPU-Passthrough DCGM_GPU_VIRTUALIZATION_MODE_VGPU = 2, //!< Device is associated with vGPU inside virtual machine. DCGM_GPU_VIRTUALIZATION_MODE_HOST_VGPU = 3, //!< Device is associated with VGX hypervisor in vGPU mode DCGM_GPU_VIRTUALIZATION_MODE_HOST_VSGA = 4, //!< Device is associated with VGX hypervisor in vSGA mode } dcgmGpuVirtualizationMode_t; /** @} */ /***************************************************************************************************/ /** @defgroup dcgmFieldEntity Field Entity * Represents field association with a particular entity * @{ */ /***************************************************************************************************/ /** * Enum of possible field entity groups */ typedef enum dcgm_field_entity_group_t { DCGM_FE_NONE = 0, /*!< Field is not associated with an entity. Field scope should be DCGM_FS_GLOBAL */ DCGM_FE_GPU, /*!< Field is associated with a GPU entity */ DCGM_FE_VGPU, /*!< Field is associated with a VGPU entity */ DCGM_FE_SWITCH, /*!< Field is associated with a Switch entity */ DCGM_FE_GPU_I, /*!< Field is associated with a GPU Instance entity */ DCGM_FE_GPU_CI, /*!< Field is associated with a GPU Compute Instance entity */ DCGM_FE_LINK, /*!< Field is associated with an NVLink */ DCGM_FE_CPU, /*!< Field is associated with a CPU node */ DCGM_FE_CPU_CORE, /*!< Field is associated with a CPU */ DCGM_FE_CONNECTX, /*!< Field is associated with a ConnectX card */ DCGM_FE_COUNT /*!< Number of elements in this enumeration. Keep this entry last */ } dcgm_field_entity_group_t; /** * Represents an identifier for an entity within a field entity. For instance, this is the gpuId for DCGM_FE_GPU. */ typedef unsigned int dcgm_field_eid_t; /** @} */ /***************************************************************************************************/ /** @defgroup dcgmFieldIdentifiers Field Identifiers * Field Identifiers * @{ */ /***************************************************************************************************/ /** * NULL field */ #define DCGM_FI_SYSTEM_FIELD_UNKNOWN 0 /** * Driver Version */ #define DCGM_FI_SYSTEM_DRIVER_VERSION 1 /* Underlying NVML version */ #define DCGM_FI_SYSTEM_NVML_VERSION 2 /* * Process Name */ #define DCGM_FI_SYSTEM_PROCESS_NAME 3 /** * Number of Devices on the node */ #define DCGM_FI_SYSTEM_GPU_QUANTITY 4 /** * Cuda Driver Version * Retrieves a number with the major value in the thousands place and the minor value in the hundreds place. * CUDA 11.1 = 11100 */ #define DCGM_FI_CUDA_DRIVER_VERSION 5 /** * GPU bind/unbind event notification * Values: SystemReinitializing=1, SystemReinitializationCompleted=2 * @note Recommended watch frequency: 1 second */ #define DCGM_FI_SYSTEM_GPU_BIND_EVENT 6 /** * Name of the GPU device */ #define DCGM_FI_DEV_GPU_NAME 50 /** * Device Brand */ #define DCGM_FI_DEV_GPU_BRAND 51 /** * NVML index of this GPU */ #define DCGM_FI_DEV_NVML_INDEX 52 /** * Device Serial Number */ #define DCGM_FI_DEV_BOARD_SERIAL 53 /** * UUID corresponding to the device */ #define DCGM_FI_DEV_GPU_UUID 54 /** * Device node minor number /dev/nvidia# */ #define DCGM_FI_DEV_GPU_MINOR_NUMBER 55 /** * OEM inforom version */ #define DCGM_FI_DEV_INFOROM_OEM_VERSION 56 /** * PCI attributes for the device */ #define DCGM_FI_DEV_PCI_BUS_ID 57 /** * The combined 16-bit device id and 16-bit vendor id */ #define DCGM_FI_DEV_PCI_COMBINED_ID 58 /** * The 32-bit Sub System Device ID */ #define DCGM_FI_DEV_PCI_SUBSYS_ID 59 /** * Topology of all GPUs on the system via PCI (static) */ #define DCGM_FI_SYSTEM_PCI_TOPOLOGY 60 /** * Topology of all GPUs on the system via NVLINK (static) */ #define DCGM_FI_SYSTEM_NVLINK_TOPOLOGY 61 /** * Affinity of all GPUs on the system (static) */ #define DCGM_FI_SYSTEM_GPU_AFFINITY 62 /** * Cuda compute capability for the device. * The major version is the upper 32 bits and * the minor version is the lower 32 bits. */ #define DCGM_FI_CUDA_GPU_COMPUTE_CAPABILITY 63 /** * A bitmap of the P2P NVLINK status from this GPU to others on this host. */ #define DCGM_FI_DEV_NVLINK_P2P_STATUS 64 /** * Compute mode for the device */ #define DCGM_FI_DEV_GPU_COMPUTE_MODE 65 /** * Persistence mode for the device * Boolean: 0 is disabled, 1 is enabled */ #define DCGM_FI_DEV_GPU_PERSISTENCE_MODE 66 /** * MIG mode for the device * Boolean: 0 is disabled, 1 is enabled */ #define DCGM_FI_DEV_MIG_MODE 67 /** * The string that CUDA_VISIBLE_DEVICES should * be set to for this entity (including MIG) */ #define DCGM_FI_CUDA_GPU_VISIBLE_DEVICES 68 /** * The maximum number of MIG slices supported by this GPU */ #define DCGM_FI_DEV_MIG_MAX_SLICES 69 /** * Device CPU affinity. part 1/8 = cpus 0 - 63 */ #define DCGM_FI_DEV_CPU_AFFINITY_0 70 /** * Device CPU affinity. part 1/8 = cpus 64 - 127 */ #define DCGM_FI_DEV_CPU_AFFINITY_1 71 /** * Device CPU affinity. part 2/8 = cpus 128 - 191 */ #define DCGM_FI_DEV_CPU_AFFINITY_2 72 /** * Device CPU affinity. part 3/8 = cpus 192 - 255 */ #define DCGM_FI_DEV_CPU_AFFINITY_3 73 /** * ConfidentialCompute/AmpereProtectedMemory status for this system * 0 = disabled * 1 = enabled */ #define DCGM_FI_DEV_CC_MODE 74 /** * Attributes for the given MIG device handles */ #define DCGM_FI_DEV_MIG_ATTRIBUTES 75 /** * GPU instance profile information */ #define DCGM_FI_DEV_MIG_GI_INFO 76 /** * Compute instance profile information */ #define DCGM_FI_DEV_MIG_CI_INFO 77 /** * ECC inforom version */ #define DCGM_FI_DEV_INFOROM_ECC_VERSION 80 /** * Power management object inforom version */ #define DCGM_FI_DEV_INFOROM_POWER_VERSION 81 /** * Inforom image version */ #define DCGM_FI_DEV_INFOROM_IMAGE_VERSION 82 /** * Inforom configuration checksum */ #define DCGM_FI_DEV_INFOROM_CHECKSUM 83 /** * Reads the infoROM from the flash and verifies the checksums */ #define DCGM_FI_DEV_INFOROM_VALID 84 /** * VBIOS version of the device */ #define DCGM_FI_DEV_VBIOS_VERSION 85 /** * Device Memory node affinity, 0-63 */ #define DCGM_FI_DEV_MEMORY_AFFINITY_0 86 /** * Device Memory node affinity, 64-127 */ #define DCGM_FI_DEV_MEMORY_AFFINITY_1 87 /** * Device Memory node affinity, 128-191 */ #define DCGM_FI_DEV_MEMORY_AFFINITY_2 88 /** * Device Memory node affinity, 192-255 */ #define DCGM_FI_DEV_MEMORY_AFFINITY_3 89 /** * Total BAR1 of the GPU in MB */ #define DCGM_FI_DEV_BAR1_TOTAL 90 /** * Deprecated - Sync boost settings on the node */ #define DCGM_FI_SYSTEM_GPU_SYNC_BOOST 91 /** * Used BAR1 of the GPU in MB */ #define DCGM_FI_DEV_BAR1_USED 92 /** * Free BAR1 of the GPU in MB */ #define DCGM_FI_DEV_BAR1_FREE 93 /** * * GPM support for the device * */ #define DCGM_FI_DEV_GPM_SUPPORT 94 /** * SM clock for the device */ #define DCGM_FI_DEV_SM_CLOCK 100 /** * Memory clock for the device */ #define DCGM_FI_DEV_MEM_CLOCK 101 /** * Video encoder/decoder clock for the device */ #define DCGM_FI_DEV_VIDEO_CLOCK 102 /** * SM Application clocks */ #define DCGM_FI_DEV_APP_SM_CLOCK 110 /** * Memory Application clocks */ #define DCGM_FI_DEV_APP_MEM_CLOCK 111 /** * Current clock event reasons (bitmask of DCGM_CLOCKS_EVENT_REASON_*) */ #define DCGM_FI_DEV_CLOCKS_EVENT_REASONS 112 /** * Deprecated: Use DCGM_FI_DEV_CLOCKS_EVENT_REASONS instead */ #define DCGM_FI_DEV_CLOCK_THROTTLE_REASONS DCGM_FI_DEV_CLOCKS_EVENT_REASONS /** * Maximum supported SM clock for the device */ #define DCGM_FI_DEV_MAX_SM_CLOCK 113 /** * Maximum supported Memory clock for the device */ #define DCGM_FI_DEV_MAX_MEM_CLOCK 114 /** * Maximum supported Video encoder/decoder clock for the device */ #define DCGM_FI_DEV_MAX_VIDEO_CLOCK 115 /** * Auto-boost for the device (1 = enabled. 0 = disabled) */ #define DCGM_FI_DEV_CLOCKS_AUTOBOOST_MODE 120 /** * Supported clocks for the device */ #define DCGM_FI_DEV_CLOCKS_SUPPORTED 130 /** * Memory temperature for the device */ #define DCGM_FI_DEV_MEMORY_TEMP_CELSIUS 140 /** * Current temperature readings for the device, in degrees C */ #define DCGM_FI_DEV_GPU_TEMP_CELSIUS 150 /** * Maximum operating temperature for the memory of this GPU. Above this temperature slowdown will occur. */ #define DCGM_FI_DEV_MEMORY_MAX_OP_TEMP_CELSIUS 151 /** * Maximum operating temperature for this GPU */ #define DCGM_FI_DEV_GPU_MAX_OP_TEMP_CELSIUS 152 /** * Thermal margin temperature (distance to nearest slowdown threshold) for this GPU */ #define DCGM_FI_DEV_GPU_TEMP_MARGIN_CELSIUS 153 /** * Power usage for the device in Watts */ #define DCGM_FI_DEV_BOARD_POWER_WATTS 155 /** * Total energy consumption for the GPU in mJ since the driver was last reloaded */ #define DCGM_FI_DEV_TOTAL_ENERGY_CONSUMPTION 156 /** * Current instantaneous power usage of the device in Watts */ #define DCGM_FI_DEV_BOARD_POWER_RAW_WATTS 157 /** * Slowdown temperature for the device */ #define DCGM_FI_DEV_GPU_TEMP_SLOWDOWN_CELSIUS 158 /** * Shutdown temperature for the device */ #define DCGM_FI_DEV_GPU_TEMP_SHUTDOWN_CELSIUS 159 /** * Current Power limit for the device */ #define DCGM_FI_DEV_BOARD_POWER_LIMIT_REQUESTED_WATTS 160 /** * Minimum power management limit for the device */ #define DCGM_FI_DEV_BOARD_POWER_LIMIT_MIN_WATTS 161 /** * Maximum power management limit for the device */ #define DCGM_FI_DEV_BOARD_POWER_LIMIT_MAX_WATTS 162 /** * Default power management limit for the device */ #define DCGM_FI_DEV_BOARD_POWER_LIMIT_DEFAULT_WATTS 163 /** * Effective power limit that the driver enforces after taking into account all limiters */ #define DCGM_FI_DEV_BOARD_POWER_LIMIT_ENFORCED_WATTS 164 /** * Requested workload power profile mask(Blackwell and newer) * */ #define DCGM_FI_DEV_BOARD_POWER_PROFILE_REQUESTED_MASK 165 /** * Enforced workload power profile mask(Blackwell and newer) * */ #define DCGM_FI_DEV_BOARD_POWER_PROFILE_ENFORCED_MASK 166 /** * Supported workload power profile mask(Blackwell and newer) * */ #define DCGM_FI_DEV_BOARD_POWER_PROFILE_SUPPORTED_MASK 167 /** * The status of the fabric manager - a value from dcgmFabricManagerStatus_t. */ #define DCGM_FI_DEV_FABRIC_MANAGER_STATUS 170 /** * The failure that happened while starting the Fabric Manager, if any * NOTE: this is not populated unless the fabric manager completed startup */ #define DCGM_FI_DEV_FABRIC_MANAGER_ERROR 171 /** * The uuid of the cluster to which this GPU belongs */ #define DCGM_FI_DEV_FABRIC_CLUSTER_UUID 172 /** * The ID of the fabric clique to which this GPU belongs */ #define DCGM_FI_DEV_FABRIC_CLIQUE_ID 173 /** * GPU Fabric health Status Mask. * Use DCGM_GPU_FABRIC_HEALTH_TEST macro to check the different health statuses. * Use DCGM_GPU_FABRIC_HEALTH_GET macro to get the different health statuses. */ #define DCGM_FI_DEV_FABRIC_HEALTH_MASK 174 /** * GPU Fabric health Summary. * Represents the overall health of the GPU Fabric. * Returns one of: * - NVML_GPU_FABRIC_HEALTH_SUMMARY_NOT_SUPPORTED (0) * - NVML_GPU_FABRIC_HEALTH_SUMMARY_HEALTHY (1) * - NVML_GPU_FABRIC_HEALTH_SUMMARY_UNHEALTHY (2) * - NVML_GPU_FABRIC_HEALTH_SUMMARY_LIMITED_CAPACITY (3) */ #define DCGM_FI_DEV_FABRIC_HEALTH_SUMMARY 175 /** * Performance state (P-State) 0-15. 0=highest */ #define DCGM_FI_DEV_GPU_PSTATE 190 /** * Fan speed for the device in percent 0-100 */ #define DCGM_FI_DEV_FAN_SPEED 191 /** * PCIe Tx utilization information * * Deprecated: Use DCGM_FI_PROF_PCIE_TX_BYTES instead. */ #define DCGM_FI_DEV_PCIE_TX_THROUGHPUT 200 /** * PCIe Rx utilization information * * Deprecated: Use DCGM_FI_PROF_PCIE_RX_BYTES instead. */ #define DCGM_FI_DEV_PCIE_RX_THROUGHPUT 201 /** * PCIe replay counter */ #define DCGM_FI_DEV_PCIE_REPLAY_TOTAL 202 /** * GPU Utilization */ #define DCGM_FI_DEV_GPU_UTIL_RATIO 203 /** * Memory Utilization */ #define DCGM_FI_DEV_MEM_COPY_UTIL 204 /** * Process accounting stats. * * This field is only supported when the host engine is running as root unless you * enable accounting ahead of time. Accounting mode can be enabled by * running "nvidia-smi -am 1" as root on the same node the host engine is running on. */ #define DCGM_FI_DEV_PROCESS_ACCOUNTING_STATS 205 /** * Encoder Utilization */ #define DCGM_FI_DEV_ENC_UTIL 206 /** * Decoder Utilization */ #define DCGM_FI_DEV_DEC_UTIL 207 /* Fields 210, 211, 220 and 221 are internal-only. See dcgm_fields_internal.hpp */ /** * XID errors. The value is the specific XID error */ #define DCGM_FI_DEV_XID_ERROR 230 /** * PCIe Max Link Generation */ #define DCGM_FI_DEV_PCIE_MAX_LINK_GEN 235 /** * PCIe Max Link Width */ #define DCGM_FI_DEV_PCIE_MAX_LINK_WIDTH 236 /** * PCIe Current Link Generation */ #define DCGM_FI_DEV_PCIE_LINK_GEN 237 /** * PCIe Current Link Width */ #define DCGM_FI_DEV_PCIE_LINK_WIDTH 238 /** * Power Violation time in ns */ #define DCGM_FI_DEV_POWER_VIOLATION 240 /** * Thermal Violation time in ns */ #define DCGM_FI_DEV_THERMAL_VIOLATION 241 /** * Sync Boost Violation time in ns */ #define DCGM_FI_DEV_SYNC_BOOST_VIOLATION 242 /** * Board violation limit. */ #define DCGM_FI_DEV_BOARD_LIMIT_VIOLATION 243 /** *Low utilisation violation limit. */ #define DCGM_FI_DEV_LOW_UTIL_VIOLATION 244 /** *Reliability violation limit. */ #define DCGM_FI_DEV_RELIABILITY_VIOLATION 245 /** * App clock violation limit. */ #define DCGM_FI_DEV_TOTAL_APP_CLOCKS_VIOLATION 246 /** * Base clock violation limit. */ #define DCGM_FI_DEV_TOTAL_BASE_CLOCKS_VIOLATION 247 /** * Total Frame Buffer of the GPU in MB */ #define DCGM_FI_DEV_FB_TOTAL 250 /** * Free Frame Buffer in MB */ #define DCGM_FI_DEV_FB_FREE 251 /** * Used Frame Buffer in MB */ #define DCGM_FI_DEV_FB_USED 252 /** * Reserved Frame Buffer in MB */ #define DCGM_FI_DEV_FB_RESERVED 253 /** * Ratio of Frame Buffer used: 'Used/(Total - Reserved)'. Range 0.0-1.0 */ #define DCGM_FI_DEV_FB_USED_RATIO 254 /** * C2C Link Quantity */ #define DCGM_FI_DEV_C2C_LINK_QUANTITY 285 /** * C2C Link Status * The value of 0 the link is INACTIVE. * The value of 1 the link is ACTIVE. */ #define DCGM_FI_DEV_C2C_LINK_STATUS 286 /** * C2C Max Bandwidth * The value indicates the link speed in MB/s. */ #define DCGM_FI_DEV_C2C_MAX_BANDWIDTH 287 /** * Current ECC mode for the device */ #define DCGM_FI_DEV_ECC_MODE 300 /** * Pending ECC mode for the device */ #define DCGM_FI_DEV_ECC_PENDING 301 /** * Total single bit volatile ECC errors */ #define DCGM_FI_DEV_ECC_SBE_VOL_TOTAL 310 /** * Total double bit volatile ECC errors */ #define DCGM_FI_DEV_ECC_DBE_VOL_TOTAL 311 /** * Total single bit aggregate (persistent) ECC errors * Note: monotonically increasing */ #define DCGM_FI_DEV_ECC_SBE_AGG_TOTAL 312 /** * Total double bit aggregate (persistent) ECC errors * Note: monotonically increasing */ #define DCGM_FI_DEV_ECC_DBE_AGG_TOTAL 313 /** * L1 cache single bit volatile ECC errors */ #define DCGM_FI_DEV_ECC_SBE_VOL_L1 314 /** * L1 cache double bit volatile ECC errors */ #define DCGM_FI_DEV_ECC_DBE_VOL_L1 315 /** * L2 cache single bit volatile ECC errors */ #define DCGM_FI_DEV_ECC_SBE_VOL_L2 316 /** * L2 cache double bit volatile ECC errors */ #define DCGM_FI_DEV_ECC_DBE_VOL_L2 317 /** * Device memory single bit volatile ECC errors */ #define DCGM_FI_DEV_ECC_SBE_VOL_DEV 318 /** * Device memory double bit volatile ECC errors */ #define DCGM_FI_DEV_ECC_DBE_VOL_DEV 319 /** * Register file single bit volatile ECC errors */ #define DCGM_FI_DEV_ECC_SBE_VOL_REG 320 /** * Register file double bit volatile ECC errors */ #define DCGM_FI_DEV_ECC_DBE_VOL_REG 321 /** * Texture memory single bit volatile ECC errors */ #define DCGM_FI_DEV_ECC_SBE_VOL_TEX 322 /** * Texture memory double bit volatile ECC errors */ #define DCGM_FI_DEV_ECC_DBE_VOL_TEX 323 /** * L1 cache single bit aggregate (persistent) ECC errors * Note: monotonically increasing */ #define DCGM_FI_DEV_ECC_SBE_AGG_L1 324 /** * L1 cache double bit aggregate (persistent) ECC errors * Note: monotonically increasing */ #define DCGM_FI_DEV_ECC_DBE_AGG_L1 325 /** * L2 cache single bit aggregate (persistent) ECC errors * Note: monotonically increasing */ #define DCGM_FI_DEV_ECC_SBE_AGG_L2 326 /** * L2 cache double bit aggregate (persistent) ECC errors * Note: monotonically increasing */ #define DCGM_FI_DEV_ECC_DBE_AGG_L2 327 /** * Device memory single bit aggregate (persistent) ECC errors * Note: monotonically increasing */ #define DCGM_FI_DEV_ECC_SBE_AGG_DEV 328 /** * Device memory double bit aggregate (persistent) ECC errors * Note: monotonically increasing */ #define DCGM_FI_DEV_ECC_DBE_AGG_DEV 329 /** * Register File single bit aggregate (persistent) ECC errors * Note: monotonically increasing */ #define DCGM_FI_DEV_ECC_SBE_AGG_REG 330 /** * Register File double bit aggregate (persistent) ECC errors * Note: monotonically increasing */ #define DCGM_FI_DEV_ECC_DBE_AGG_REG 331 /** * Texture memory single bit aggregate (persistent) ECC errors * Note: monotonically increasing */ #define DCGM_FI_DEV_ECC_SBE_AGG_TEX 332 /** * Texture memory double bit aggregate (persistent) ECC errors * Note: monotonically increasing */ #define DCGM_FI_DEV_ECC_DBE_AGG_TEX 333 /** * Texture SHM single bit volatile ECC errors */ #define DCGM_FI_DEV_ECC_SBE_VOL_SHM 334 /** * Texture SHM double bit volatile ECC errors */ #define DCGM_FI_DEV_ECC_DBE_VOL_SHM 335 /** * CBU single bit ECC volatile errors */ #define DCGM_FI_DEV_ECC_SBE_VOL_CBU 336 /** * CBU double bit ECC volatile errors */ #define DCGM_FI_DEV_ECC_DBE_VOL_CBU 337 /** * Texture SHM single bit aggregate ECC errors */ #define DCGM_FI_DEV_ECC_SBE_AGG_SHM 338 /** * Texture SHM double bit aggregate ECC errors */ #define DCGM_FI_DEV_ECC_DBE_AGG_SHM 339 /** * CBU single bit ECC aggregate errors */ #define DCGM_FI_DEV_ECC_SBE_AGG_CBU 340 /** * CBU double bit ECC aggregate errors */ #define DCGM_FI_DEV_ECC_DBE_AGG_CBU 341 /** * Turing and later fields */ /** * SRAM single bit ECC volatile errors */ #define DCGM_FI_DEV_ECC_SBE_VOL_SRM 342 /** * SRAM double bit ECC volatile errors */ #define DCGM_FI_DEV_ECC_DBE_VOL_SRM 343 /** * SRAM single bit ECC aggregate errors */ #define DCGM_FI_DEV_ECC_SBE_AGG_SRM 344 /** * SRAM double bit ECC aggregate errors */ #define DCGM_FI_DEV_ECC_DBE_AGG_SRM 345 /** * Ampere and later fields */ /** * SRAM Threshold Exceeded boolean (1=true) */ #define DCGM_FI_DEV_SRAM_EXCEEDED 346 /** * Result of the GPU Memory test * Refers to a `int64_t` storing a value drawn from `dcgmError_t` enumeration */ #define DCGM_FI_DEV_DIAG_MEMORY_RESULT 350 /** * Result of the Diagnostics test * Refers to a `int64_t` storing a value drawn from `dcgmError_t` enumeration */ #define DCGM_FI_DEV_DIAG_DIAGNOSTIC_RESULT 351 /** * Result of the PCIe + NVLink test * Refers to a `int64_t` storing a value drawn from `dcgmError_t` enumeration */ #define DCGM_FI_DEV_DIAG_PCIE_RESULT 352 /** * Result of the Targeted Stress test * Refers to a `int64_t` storing a value drawn from `dcgmError_t` enumeration */ #define DCGM_FI_DEV_DIAG_TARGETED_STRESS_RESULT 353 /** * Result of the Targeted Power test * Refers to a `int64_t` storing a value drawn from `dcgmError_t` enumeration */ #define DCGM_FI_DEV_DIAG_TARGETED_POWER_RESULT 354 /** * Result of the Memory Bandwidth test * Refers to a `int64_t` storing a value drawn from `dcgmError_t` enumeration */ #define DCGM_FI_DEV_DIAG_MEMORY_BANDWIDTH_RESULT 355 /** * Result of the Memory Stress test * Refers to a `int64_t` storing a value drawn from `dcgmError_t` enumeration */ #define DCGM_FI_DEV_DIAG_MEMTEST_RESULT 356 /** * Result of the Input Energy Delayed Product power (EDPp) test (a.k.a. the * pulse test) * Refers to a `int64_t` storing a value drawn from `dcgmError_t` enumeration */ #define DCGM_FI_DEV_DIAG_PULSE_TEST_RESULT 357 /** * Result of the Extended Utility Diagnostics (EUD) test * Refers to a `int64_t` storing a value drawn from `dcgmError_t` enumeration */ #define DCGM_FI_DEV_DIAG_EUD_RESULT 358 /** * Result of the CPU Extended Utility Diagnostics (CPU EUD) test * Refers to a `int64_t` storing a value drawn from `dcgmError_t` enumeration */ #define DCGM_FI_DEV_DIAG_CPU_EUD_RESULT 359 /** * Result of the Software test * Refers to a `int64_t` storing a value drawn from `dcgmError_t` enumeration */ #define DCGM_FI_DEV_DIAG_SOFTWARE_RESULT 360 /** * Result of the NVBandwidth test * Refers to a `int64_t` storing a value drawn from `dcgmError_t` enumeration */ #define DCGM_FI_DEV_DIAG_NVBANDWIDTH_RESULT 361 /* * Status of the current diag run * Refers to a binary blob of a `dcgmDiagStatus_t` struct */ #define DCGM_FI_DEV_DIAG_STATUS 362 /** * Result of the nccl-tests test * Refers to a `int64_t` storing a value drawn from `dcgmError_t` enumeration */ #define DCGM_FI_DEV_DIAG_NCCL_TESTS_RESULT 363 /* Values from 364-380 reserved for future use */ /** * Historical max available spare memory rows per memory bank */ #define DCGM_FI_DEV_BANK_REMAP_AVAIL_MAX 385 /** * Historical high mark of available spare memory rows per memory bank */ #define DCGM_FI_DEV_BANK_REMAP_AVAIL_HIGH 386 /** * Historical mark of partial available spare memory rows per memory bank */ #define DCGM_FI_DEV_BANK_REMAP_AVAIL_PARTIAL 387 /** * Historical low mark of available spare memory rows per memory bank */ #define DCGM_FI_DEV_BANK_REMAP_AVAIL_LOW 388 /** * Historical marker of memory banks with no available spare memory rows */ #define DCGM_FI_DEV_BANK_REMAP_AVAIL_NONE 389 /** * Number of retired pages because of single bit errors * Note: monotonically increasing */ #define DCGM_FI_DEV_PAGE_RETIRED_SBE_TOTAL 390 /** * Number of retired pages because of double bit errors * Note: monotonically increasing */ #define DCGM_FI_DEV_PAGE_RETIRED_DBE_TOTAL 391 /** * Whether any pages are pending retirement (1=yes, 0=no) */ #define DCGM_FI_DEV_PAGE_RETIRED_PENDING 392 /** * Number of remapped rows for uncorrectable errors */ #define DCGM_FI_DEV_ROW_REMAP_UNCORRECTABLE_TOTAL 393 /** * Number of remapped rows for correctable errors */ #define DCGM_FI_DEV_ROW_REMAP_CORRECTABLE_TOTAL 394 /** * Whether remapping of rows has failed */ #define DCGM_FI_DEV_ROW_REMAP_FAILED 395 /** * Whether remapping of rows is pending */ #define DCGM_FI_DEV_ROW_REMAP_PENDING 396 /* * NV Link flow control CRC Error Counter for Lane 0 */ #define DCGM_FI_DEV_NVLINK_CRC_FLIT_ERROR_L0_TOTAL 400 /* * NV Link flow control CRC Error Counter for Lane 1 */ #define DCGM_FI_DEV_NVLINK_CRC_FLIT_ERROR_L1_TOTAL 401 /* * NV Link flow control CRC Error Counter for Lane 2 */ #define DCGM_FI_DEV_NVLINK_CRC_FLIT_ERROR_L2_TOTAL 402 /* * NV Link flow control CRC Error Counter for Lane 3 */ #define DCGM_FI_DEV_NVLINK_CRC_FLIT_ERROR_L3_TOTAL 403 /* * NV Link flow control CRC Error Counter for Lane 4 */ #define DCGM_FI_DEV_NVLINK_CRC_FLIT_ERROR_L4_TOTAL 404 /* * NV Link flow control CRC Error Counter for Lane 5 */ #define DCGM_FI_DEV_NVLINK_CRC_FLIT_ERROR_L5_TOTAL 405 /* * NV Link flow control CRC Error Counter total for all Lanes */ #define DCGM_FI_DEV_NVLINK_CRC_FLIT_ERROR_TOTAL 409 /* * NV Link data CRC Error Counter for Lane 0 */ #define DCGM_FI_DEV_NVLINK_CRC_DATA_ERROR_L0_TOTAL 410 /* * NV Link data CRC Error Counter for Lane 1 */ #define DCGM_FI_DEV_NVLINK_CRC_DATA_ERROR_L1_TOTAL 411 /* * NV Link data CRC Error Counter for Lane 2 */ #define DCGM_FI_DEV_NVLINK_CRC_DATA_ERROR_L2_TOTAL 412 /* * NV Link data CRC Error Counter for Lane 3 */ #define DCGM_FI_DEV_NVLINK_CRC_DATA_ERROR_L3_TOTAL 413 /* * NV Link data CRC Error Counter for Lane 4 */ #define DCGM_FI_DEV_NVLINK_CRC_DATA_ERROR_L4_TOTAL 414 /* * NV Link data CRC Error Counter for Lane 5 */ #define DCGM_FI_DEV_NVLINK_CRC_DATA_ERROR_L5_TOTAL 415 /* * NV Link data CRC Error Counter total for all Lanes */ #define DCGM_FI_DEV_NVLINK_CRC_DATA_ERROR_TOTAL 419 /* * NV Link Replay Error Counter for Lane 0 */ #define DCGM_FI_DEV_NVLINK_REPLAY_ERROR_L0_TOTAL 420 /* * NV Link Replay Error Counter for Lane 1 */ #define DCGM_FI_DEV_NVLINK_REPLAY_ERROR_L1_TOTAL 421 /* * NV Link Replay Error Counter for Lane 2 */ #define DCGM_FI_DEV_NVLINK_REPLAY_ERROR_L2_TOTAL 422 /* * NV Link Replay Error Counter for Lane 3 */ #define DCGM_FI_DEV_NVLINK_REPLAY_ERROR_L3_TOTAL 423 /* * NV Link Replay Error Counter for Lane 4 */ #define DCGM_FI_DEV_NVLINK_REPLAY_ERROR_L4_TOTAL 424 /* * NV Link Replay Error Counter for Lane 5 */ #define DCGM_FI_DEV_NVLINK_REPLAY_ERROR_L5_TOTAL 425 /* * NV Link Replay Error Counter total for all Lanes */ #define DCGM_FI_DEV_NVLINK_REPLAY_ERROR_TOTAL 429 /* * NV Link Recovery Error Counter for Lane 0 */ #define DCGM_FI_DEV_NVLINK_RECOVERY_ERROR_L0_TOTAL 430 /* * NV Link Recovery Error Counter for Lane 1 */ #define DCGM_FI_DEV_NVLINK_RECOVERY_ERROR_L1_TOTAL 431 /* * NV Link Recovery Error Counter for Lane 2 */ #define DCGM_FI_DEV_NVLINK_RECOVERY_ERROR_L2_TOTAL 432 /* * NV Link Recovery Error Counter for Lane 3 */ #define DCGM_FI_DEV_NVLINK_RECOVERY_ERROR_L3_TOTAL 433 /* * NV Link Recovery Error Counter for Lane 4 */ #define DCGM_FI_DEV_NVLINK_RECOVERY_ERROR_L4_TOTAL 434 /* * NV Link Recovery Error Counter for Lane 5 */ #define DCGM_FI_DEV_NVLINK_RECOVERY_ERROR_L5_TOTAL 435 /* * NV Link Recovery Error Counter total for all Lanes */ #define DCGM_FI_DEV_NVLINK_RECOVERY_ERROR_TOTAL 439 /* * NV Link Throughput for Lane 0 */ #define DCGM_FI_DEV_NVLINK_THROUGHPUT_L0 440 /* * NV Link Throughput for Lane 1 */ #define DCGM_FI_DEV_NVLINK_THROUGHPUT_L1 441 /* * NV Link Throughput for Lane 2 */ #define DCGM_FI_DEV_NVLINK_THROUGHPUT_L2 442 /* * NV Link Throughput for Lane 3 */ #define DCGM_FI_DEV_NVLINK_THROUGHPUT_L3 443 /* * NV Link Throughput for Lane 4 */ #define DCGM_FI_DEV_NVLINK_THROUGHPUT_L4 444 /* * NV Link Throughput for Lane 5 */ #define DCGM_FI_DEV_NVLINK_THROUGHPUT_L5 445 /* * NV Link Throughput total for all Lanes */ #define DCGM_FI_DEV_NVLINK_THROUGHPUT_TOTAL 449 /* * GPU NVLink error information */ #define DCGM_FI_DEV_NVLINK_ERROR 450 /* * NV Link flow control CRC Error Counter for Lane 6 */ #define DCGM_FI_DEV_NVLINK_CRC_FLIT_ERROR_L6_TOTAL 451 /* * NV Link flow control CRC Error Counter for Lane 7 */ #define DCGM_FI_DEV_NVLINK_CRC_FLIT_ERROR_L7_TOTAL 452 /* * NV Link flow control CRC Error Counter for Lane 8 */ #define DCGM_FI_DEV_NVLINK_CRC_FLIT_ERROR_L8_TOTAL 453 /* * NV Link flow control CRC Error Counter for Lane 9 */ #define DCGM_FI_DEV_NVLINK_CRC_FLIT_ERROR_L9_TOTAL 454 /* * NV Link flow control CRC Error Counter for Lane 10 */ #define DCGM_FI_DEV_NVLINK_CRC_FLIT_ERROR_L10_TOTAL 455 /* * NV Link flow control CRC Error Counter for Lane 11 */ #define DCGM_FI_DEV_NVLINK_CRC_FLIT_ERROR_L11_TOTAL 456 /* * NV Link data CRC Error Counter for Lane 6 */ #define DCGM_FI_DEV_NVLINK_CRC_DATA_ERROR_L6_TOTAL 457 /* * NV Link data CRC Error Counter for Lane 7 */ #define DCGM_FI_DEV_NVLINK_CRC_DATA_ERROR_L7_TOTAL 458 /* * NV Link data CRC Error Counter for Lane 8 */ #define DCGM_FI_DEV_NVLINK_CRC_DATA_ERROR_L8_TOTAL 459 /* * NV Link data CRC Error Counter for Lane 9 */ #define DCGM_FI_DEV_NVLINK_CRC_DATA_ERROR_L9_TOTAL 460 /* * NV Link data CRC Error Counter for Lane 10 */ #define DCGM_FI_DEV_NVLINK_CRC_DATA_ERROR_L10_TOTAL 461 /* * NV Link data CRC Error Counter for Lane 11 */ #define DCGM_FI_DEV_NVLINK_CRC_DATA_ERROR_L11_TOTAL 462 /* * NV Link Replay Error Counter for Lane 6 */ #define DCGM_FI_DEV_NVLINK_REPLAY_ERROR_L6_TOTAL 463 /* * NV Link Replay Error Counter for Lane 7 */ #define DCGM_FI_DEV_NVLINK_REPLAY_ERROR_L7_TOTAL 464 /* * NV Link Replay Error Counter for Lane 8 */ #define DCGM_FI_DEV_NVLINK_REPLAY_ERROR_L8_TOTAL 465 /* * NV Link Replay Error Counter for Lane 9 */ #define DCGM_FI_DEV_NVLINK_REPLAY_ERROR_L9_TOTAL 466 /* * NV Link Replay Error Counter for Lane 10 */ #define DCGM_FI_DEV_NVLINK_REPLAY_ERROR_L10_TOTAL 467 /* * NV Link Replay Error Counter for Lane 11 */ #define DCGM_FI_DEV_NVLINK_REPLAY_ERROR_L11_TOTAL 468 /* * NV Link Recovery Error Counter for Lane 6 */ #define DCGM_FI_DEV_NVLINK_RECOVERY_ERROR_L6_TOTAL 469 /* * NV Link Recovery Error Counter for Lane 7 */ #define DCGM_FI_DEV_NVLINK_RECOVERY_ERROR_L7_TOTAL 470 /* * NV Link Recovery Error Counter for Lane 8 */ #define DCGM_FI_DEV_NVLINK_RECOVERY_ERROR_L8_TOTAL 471 /* * NV Link Recovery Error Counter for Lane 9 */ #define DCGM_FI_DEV_NVLINK_RECOVERY_ERROR_L9_TOTAL 472 /* * NV Link Recovery Error Counter for Lane 10 */ #define DCGM_FI_DEV_NVLINK_RECOVERY_ERROR_L10_TOTAL 473 /* * NV Link Recovery Error Counter for Lane 11 */ #define DCGM_FI_DEV_NVLINK_RECOVERY_ERROR_L11_TOTAL 474 /* * NV Link Throughput for Lane 6 */ #define DCGM_FI_DEV_NVLINK_THROUGHPUT_L6 475 /* * NV Link Throughput for Lane 7 */ #define DCGM_FI_DEV_NVLINK_THROUGHPUT_L7 476 /* * NV Link Throughput for Lane 8 */ #define DCGM_FI_DEV_NVLINK_THROUGHPUT_L8 477 /* * NV Link Throughput for Lane 9 */ #define DCGM_FI_DEV_NVLINK_THROUGHPUT_L9 478 /* * NV Link Throughput for Lane 10 */ #define DCGM_FI_DEV_NVLINK_THROUGHPUT_L10 479 /* * NV Link Throughput for Lane 11 */ #define DCGM_FI_DEV_NVLINK_THROUGHPUT_L11 480 #define DCGM_FI_DEV_NVLINK_CRC_FLIT_ERROR_L12_TOTAL 406 #define DCGM_FI_DEV_NVLINK_CRC_FLIT_ERROR_L13_TOTAL 407 #define DCGM_FI_DEV_NVLINK_CRC_FLIT_ERROR_L14_TOTAL 408 #define DCGM_FI_DEV_NVLINK_CRC_FLIT_ERROR_L15_TOTAL 481 #define DCGM_FI_DEV_NVLINK_CRC_FLIT_ERROR_L16_TOTAL 482 #define DCGM_FI_DEV_NVLINK_CRC_FLIT_ERROR_L17_TOTAL 483 #define DCGM_FI_DEV_NVLINK_CRC_DATA_ERROR_L12_TOTAL 416 #define DCGM_FI_DEV_NVLINK_CRC_DATA_ERROR_L13_TOTAL 417 #define DCGM_FI_DEV_NVLINK_CRC_DATA_ERROR_L14_TOTAL 418 #define DCGM_FI_DEV_NVLINK_CRC_DATA_ERROR_L15_TOTAL 484 #define DCGM_FI_DEV_NVLINK_CRC_DATA_ERROR_L16_TOTAL 485 #define DCGM_FI_DEV_NVLINK_CRC_DATA_ERROR_L17_TOTAL 486 #define DCGM_FI_DEV_NVLINK_REPLAY_ERROR_L12_TOTAL 426 #define DCGM_FI_DEV_NVLINK_REPLAY_ERROR_L13_TOTAL 427 #define DCGM_FI_DEV_NVLINK_REPLAY_ERROR_L14_TOTAL 428 #define DCGM_FI_DEV_NVLINK_REPLAY_ERROR_L15_TOTAL 487 #define DCGM_FI_DEV_NVLINK_REPLAY_ERROR_L16_TOTAL 488 #define DCGM_FI_DEV_NVLINK_REPLAY_ERROR_L17_TOTAL 489 #define DCGM_FI_DEV_NVLINK_RECOVERY_ERROR_L12_TOTAL 436 #define DCGM_FI_DEV_NVLINK_RECOVERY_ERROR_L13_TOTAL 437 #define DCGM_FI_DEV_NVLINK_RECOVERY_ERROR_L14_TOTAL 438 #define DCGM_FI_DEV_NVLINK_RECOVERY_ERROR_L15_TOTAL 491 #define DCGM_FI_DEV_NVLINK_RECOVERY_ERROR_L16_TOTAL 492 #define DCGM_FI_DEV_NVLINK_RECOVERY_ERROR_L17_TOTAL 493 #define DCGM_FI_DEV_NVLINK_THROUGHPUT_L12 446 #define DCGM_FI_DEV_NVLINK_THROUGHPUT_L13 447 #define DCGM_FI_DEV_NVLINK_THROUGHPUT_L14 448 #define DCGM_FI_DEV_NVLINK_THROUGHPUT_L15 494 #define DCGM_FI_DEV_NVLINK_THROUGHPUT_L16 495 #define DCGM_FI_DEV_NVLINK_THROUGHPUT_L17 496 /* * NVLink CRC Error Counter Total */ #define DCGM_FI_DEV_NVLINK_CRC_ERROR_TOTAL 497 /* * NVLink Recovery Error Counter Total */ #define DCGM_FI_DEV_NVLINK_RECOVERY_TOTAL 498 /* * NVLink Replay Error Counter Total */ #define DCGM_FI_DEV_NVLINK_REPLAY_TOTAL 499 /** * Virtualization Mode corresponding to the GPU. * * One of DCGM_GPU_VIRTUALIZATION_MODE_* constants. */ #define DCGM_FI_DEV_GPU_VIRTUAL_MODE 500 /** * Includes Count and Static info of vGPU types supported on a device */ #define DCGM_FI_DEV_VGPU_SUPPORTED_INFO 501 /** * Includes Count and currently Creatable vGPU types on a device */ #define DCGM_FI_DEV_VGPU_CREATABLE_IDS 502 /** * Includes Count and currently Active vGPU Instances on a device */ #define DCGM_FI_DEV_VGPU_INSTANCE_INFO 503 /** * Utilization values for vGPUs running on the device */ #define DCGM_FI_DEV_VGPU_UTIL_INFO 504 /** * Utilization values for processes running within vGPU VMs using the device */ #define DCGM_FI_DEV_VGPU_PROCESS_UTIL_INFO 505 /** * Current encoder statistics for a given device */ #define DCGM_FI_DEV_ENC_STATS 506 /** * Statistics of current active frame buffer capture sessions on a given device */ #define DCGM_FI_DEV_FBC_STATS 507 /** * Information about active frame buffer capture sessions on a target device */ #define DCGM_FI_DEV_FBC_SESSIONS_INFO 508 /** * Includes Count and currently Supported vGPU types on a device */ #define DCGM_FI_DEV_VGPU_SUPPORTED_IDS 509 /** * Includes Static info of vGPU types supported on a device */ #define DCGM_FI_DEV_VGPU_TYPE_INFO 510 /** * Includes the name of a vGPU type supported on a device */ #define DCGM_FI_DEV_VGPU_TYPE_NAME 511 /** * Includes the class of a vGPU type supported on a device */ #define DCGM_FI_DEV_VGPU_TYPE_CLASS 512 /** * Includes the license info for a vGPU type supported on a device */ #define DCGM_FI_DEV_VGPU_TYPE_LICENSE 513 /** * VM ID of the vGPU instance */ #define DCGM_FI_DEV_VGPU_VM_ID 520 /** * VM name of the vGPU instance */ #define DCGM_FI_DEV_VGPU_VM_NAME 521 /** * vGPU type of the vGPU instance */ #define DCGM_FI_DEV_VGPU_TYPE 522 /** * UUID of the vGPU instance */ #define DCGM_FI_DEV_VGPU_UUID 523 /** * Driver version of the vGPU instance */ #define DCGM_FI_DEV_VGPU_DRIVER_VERSION 524 /** * Memory usage of the vGPU instance */ #define DCGM_FI_DEV_VGPU_MEMORY_USAGE 525 /** * License status of the vGPU * * 0 = vgpu is not licensed * * 1 = vgpu is licensed */ #define DCGM_FI_DEV_VGPU_LICENSE_STATUS 526 /** * Frame rate limit of the vGPU instance */ #define DCGM_FI_DEV_VGPU_FRAME_RATE_LIMIT 527 /** * Current encoder statistics of the vGPU instance */ #define DCGM_FI_DEV_VGPU_ENC_STATS 528 /** * Information about all active encoder sessions on the vGPU instance */ #define DCGM_FI_DEV_VGPU_ENC_SESSIONS_INFO 529 /** * Statistics of current active frame buffer capture sessions on the vGPU instance */ #define DCGM_FI_DEV_VGPU_FBC_STATS 530 /** * Information about active frame buffer capture sessions on the vGPU instance */ #define DCGM_FI_DEV_VGPU_FBC_SESSIONS_INFO 531 /** * License state information of the vGPU instance */ #define DCGM_FI_DEV_VGPU_INSTANCE_LICENSE_STATUS 532 /** * PCI Id of the vGPU instance */ #define DCGM_FI_DEV_VGPU_PCI_ID 533 /** * GPU Instance ID for the given vGPU Instance */ #define DCGM_FI_DEV_VGPU_GPU_INSTANCE_ID 534 /** * Starting field ID of the vGPU instance */ #define DCGM_FI_FIRST_VGPU_FIELD_ID 520 /** * Last field ID of the vGPU instance */ #define DCGM_FI_LAST_VGPU_FIELD_ID 570 /** * For now max vGPU field Ids taken as difference of DCGM_FI_LAST_VGPU_FIELD_ID and DCGM_FI_LAST_VGPU_FIELD_ID i.e. 50 */ #define DCGM_FI_MAX_VGPU_FIELDS DCGM_FI_LAST_VGPU_FIELD_ID - DCGM_FI_FIRST_VGPU_FIELD_ID /** * Infiniband GUID string with format 0xXXXXXXXXXXXXXXXX for the specified GPU. */ #define DCGM_FI_DEV_PLATFORM_INFINIBAND_GUID 571 /** * Serial number of the chassis containing this GPU */ #define DCGM_FI_DEV_PLATFORM_CHASSIS_SERIAL_NUMBER 572 /** * Slot number in the rack containing the GPU (includes switches) */ #define DCGM_FI_DEV_PLATFORM_CHASSIS_SLOT_NUMBER 573 /** * Tray index within the compute slots in the chassis containing this GPU (does not include switches) */ #define DCGM_FI_DEV_PLATFORM_TRAY_INDEX 574 /** * Index of the node within the slot containing the GPU */ #define DCGM_FI_DEV_PLATFORM_HOST_ID 575 /** * Platform indicated NVLink-peer type (e.g. switch present or not) */ #define DCGM_FI_DEV_PLATFORM_PEER_TYPE 576 /** * ID of the GPU within the node */ #define DCGM_FI_DEV_PLATFORM_MODULE_ID 577 /** * Link-based PRM metrics for NvLink * These fields use dcgm_link_t to specify GPU ID + port number for per-link metrics */ /** * PPRM recovery operation status */ #define DCGM_FI_DEV_NVLINK_PPRM_OPER_RECOVERY 580 /** * Time in seconds since last PRM recovery */ #define DCGM_FI_DEV_NVLINK_PPCNT_RECOVERY_TIME_SINCE_LAST 581 /** * Time in milliseconds between last two recoveries */ #define DCGM_FI_DEV_NVLINK_PPCNT_RECOVERY_TIME_BETWEEN_LAST_TWO 582 /** * Total successful recovery events counter */ #define DCGM_FI_DEV_NVLINK_PPCNT_RECOVERY_SUCCESSFUL_TOTAL 583 /** * Physical layer successful recovery events */ #define DCGM_FI_DEV_NVLINK_PPCNT_PHYSICAL_RECOVERY_SUCCESSFUL_TOTAL 584 /** * Physical layer link down counter */ #define DCGM_FI_DEV_NVLINK_PPCNT_PHYSICAL_LINK_DOWN_TOTAL 585 /** * PLR received codewords counter */ #define DCGM_FI_DEV_NVLINK_PPCNT_PLR_RX_CODE_TOTAL 586 /** * PLR received code error counter */ #define DCGM_FI_DEV_NVLINK_PPCNT_PLR_RX_CODE_ERROR_TOTAL 587 /** * PLR received uncorrectable codes counter */ #define DCGM_FI_DEV_NVLINK_PPCNT_PLR_RX_CODE_UNCORRECTABLE_TOTAL 588 /** * PLR transmitted codewords counter */ #define DCGM_FI_DEV_NVLINK_PPCNT_PLR_TX_CODE_TOTAL 589 /** * PLR transmitted retry codes counter */ #define DCGM_FI_DEV_NVLINK_PPCNT_PLR_TX_RETRY_CODE_TOTAL 590 /** * PLR transmitted retry events counter */ #define DCGM_FI_DEV_NVLINK_PPCNT_PLR_TX_RETRY_EVENT_TOTAL 591 /** * PLR sync events counter */ #define DCGM_FI_DEV_NVLINK_PPCNT_PLR_SYNC_EVENT_TOTAL 592 /** * Starting ID for all the internal fields */ #define DCGM_FI_INTERNAL_FIELDS_0_START 600 /** * Last ID for all the internal fields */ /** *

 

*

 

*

 

*

NVSwitch entity field IDs start here.

*

 

*

 

*

NVSwitch latency bins for port 0

*/ #define DCGM_FI_INTERNAL_FIELDS_0_END 699 /** * Starting field ID of the NVSwitch instance */ #define DCGM_FI_FIRST_NVSWITCH_FIELD_ID 700 /** * NvSwitch voltage */ #define DCGM_FI_DEV_NVSWITCH_VOLTAGE_MVOLT 701 /** * NvSwitch Current IDDQ */ #define DCGM_FI_DEV_NVSWITCH_CURRENT_IDDQ 702 /** * NvSwitch Current IDDQ Rev */ #define DCGM_FI_DEV_NVSWITCH_CURRENT_IDDQ_REV 703 /** * NvSwitch Current IDDQ Rev DVDD */ #define DCGM_FI_DEV_NVSWITCH_CURRENT_IDDQ_DVDD 704 /** * NvSwitch Power VDD in watts */ #define DCGM_FI_DEV_NVSWITCH_POWER_VDD_WATTS 705 /** * NvSwitch Power DVDD in watts */ #define DCGM_FI_DEV_NVSWITCH_POWER_DVDD_WATTS 706 /** * NvSwitch Power HVDD in watts */ #define DCGM_FI_DEV_NVSWITCH_POWER_HVDD_WATTS 707 /** *

NVSwitch Tx Throughput Counter for ports 0-17

*/ #define DCGM_FI_DEV_NVSWITCH_LINK_THROUGHPUT_TX 780 /** * NVSwitch Rx Throughput Counter for ports 0-17 */ #define DCGM_FI_DEV_NVSWITCH_LINK_THROUGHPUT_RX 781 /** * NvSwitch fatal_errors for ports 0-17 */ #define DCGM_FI_DEV_NVSWITCH_LINK_FATAL_ERRORS 782 /** * NvSwitch non_fatal_errors for ports 0-17 * */ #define DCGM_FI_DEV_NVSWITCH_LINK_NON_FATAL_ERRORS 783 /** * NvSwitch replay_count_errors for ports 0-17 */ #define DCGM_FI_DEV_NVSWITCH_LINK_REPLAY_ERROR_TOTAL 784 /** * NvSwitch recovery_count_errors for ports 0-17 */ #define DCGM_FI_DEV_NVSWITCH_LINK_RECOVERY_ERROR_TOTAL 785 /** * NvSwitch filt_err_count_errors for ports 0-17 */ #define DCGM_FI_DEV_NVSWITCH_LINK_FLIT_ERROR_TOTAL 786 /** * NvLink lane_crs_err_count_aggregate_errors for ports 0-17 */ #define DCGM_FI_DEV_NVSWITCH_LINK_CRC_ERROR_TOTAL 787 /** * NvLink lane ecc_err_count_aggregate_errors for ports 0-17 */ #define DCGM_FI_DEV_NVSWITCH_LINK_ECC_ERROR_TOTAL 788 /** * Nvlink lane latency low lane0 counter. */ #define DCGM_FI_DEV_NVSWITCH_LINK_LATENCY_LOW_VC0 789 /** * Nvlink lane latency low lane1 counter. */ #define DCGM_FI_DEV_NVSWITCH_LINK_LATENCY_LOW_VC1 790 /** * Nvlink lane latency low lane2 counter. */ #define DCGM_FI_DEV_NVSWITCH_LINK_LATENCY_LOW_VC2 791 /** * Nvlink lane latency low lane3 counter. */ #define DCGM_FI_DEV_NVSWITCH_LINK_LATENCY_LOW_VC3 792 /** * Nvlink lane latency medium lane0 counter. */ #define DCGM_FI_DEV_NVSWITCH_LINK_LATENCY_MEDIUM_VC0 793 /** * Nvlink lane latency medium lane1 counter. */ #define DCGM_FI_DEV_NVSWITCH_LINK_LATENCY_MEDIUM_VC1 794 /** * Nvlink lane latency medium lane2 counter. */ #define DCGM_FI_DEV_NVSWITCH_LINK_LATENCY_MEDIUM_VC2 795 /** * Nvlink lane latency medium lane3 counter. */ #define DCGM_FI_DEV_NVSWITCH_LINK_LATENCY_MEDIUM_VC3 796 /** * Nvlink lane latency high lane0 counter. */ #define DCGM_FI_DEV_NVSWITCH_LINK_LATENCY_HIGH_VC0 797 /** * Nvlink lane latency high lane1 counter. */ #define DCGM_FI_DEV_NVSWITCH_LINK_LATENCY_HIGH_VC1 798 /** * Nvlink lane latency high lane2 counter. */ #define DCGM_FI_DEV_NVSWITCH_LINK_LATENCY_HIGH_VC2 799 /** * Nvlink lane latency high lane3 counter. */ #define DCGM_FI_DEV_NVSWITCH_LINK_LATENCY_HIGH_VC3 800 /** * Nvlink lane latency panic lane0 counter. */ #define DCGM_FI_DEV_NVSWITCH_LINK_LATENCY_PANIC_VC0 801 /** * Nvlink lane latency panic lane1 counter. */ #define DCGM_FI_DEV_NVSWITCH_LINK_LATENCY_PANIC_VC1 802 /** * Nvlink lane latency panic lane2 counter. */ #define DCGM_FI_DEV_NVSWITCH_LINK_LATENCY_PANIC_VC2 803 /** * Nvlink lane latency panic lane2 counter. */ #define DCGM_FI_DEV_NVSWITCH_LINK_LATENCY_PANIC_VC3 804 /** * Nvlink lane latency count lane0 counter. */ #define DCGM_FI_DEV_NVSWITCH_LINK_LATENCY_SAMPLE_VC0_TOTAL 805 /** * Nvlink lane latency count lane1 counter. */ #define DCGM_FI_DEV_NVSWITCH_LINK_LATENCY_SAMPLE_VC1_TOTAL 806 /** * Nvlink lane latency count lane2 counter. */ #define DCGM_FI_DEV_NVSWITCH_LINK_LATENCY_SAMPLE_VC2_TOTAL 807 /** * Nvlink lane latency count lane3 counter. */ #define DCGM_FI_DEV_NVSWITCH_LINK_LATENCY_SAMPLE_VC3_TOTAL 808 /** * NvLink lane crc_err_count for lane 0 on ports 0-17 */ #define DCGM_FI_DEV_NVSWITCH_LINK_CRC_ERROR_L0_TOTAL 809 /** * NvLink lane crc_err_count for lane 1 on ports 0-17 */ #define DCGM_FI_DEV_NVSWITCH_LINK_CRC_ERROR_L1_TOTAL 810 /** * NvLink lane crc_err_count for lane 2 on ports 0-17 */ #define DCGM_FI_DEV_NVSWITCH_LINK_CRC_ERROR_L2_TOTAL 811 /** * NvLink lane crc_err_count for lane 3 on ports 0-17 */ #define DCGM_FI_DEV_NVSWITCH_LINK_CRC_ERROR_L3_TOTAL 812 /** * NvLink lane ecc_err_count for lane 0 on ports 0-17 */ #define DCGM_FI_DEV_NVSWITCH_LINK_ECC_ERROR_L0_TOTAL 813 /** * NvLink lane ecc_err_count for lane 1 on ports 0-17 */ #define DCGM_FI_DEV_NVSWITCH_LINK_ECC_ERROR_L1_TOTAL 814 /** * NvLink lane ecc_err_count for lane 2 on ports 0-17 */ #define DCGM_FI_DEV_NVSWITCH_LINK_ECC_ERROR_L2_TOTAL 815 /** * NvLink lane ecc_err_count for lane 3 on ports 0-17 */ #define DCGM_FI_DEV_NVSWITCH_LINK_ECC_ERROR_L3_TOTAL 816 /** * NvLink lane crc_err_count for lane 4 on ports 0-17 */ #define DCGM_FI_DEV_NVSWITCH_LINK_CRC_ERROR_L4_TOTAL 817 /** * NvLink lane crc_err_count for lane 5 on ports 0-17 */ #define DCGM_FI_DEV_NVSWITCH_LINK_CRC_ERROR_L5_TOTAL 818 /** * NvLink lane crc_err_count for lane 6 on ports 0-17 */ #define DCGM_FI_DEV_NVSWITCH_LINK_CRC_ERROR_L6_TOTAL 819 /** * NvLink lane crc_err_count for lane 7 on ports 0-17 */ #define DCGM_FI_DEV_NVSWITCH_LINK_CRC_ERROR_L7_TOTAL 820 /** * NvLink lane ecc_err_count for lane 4 on ports 0-17 */ #define DCGM_FI_DEV_NVSWITCH_LINK_ECC_ERROR_L4_TOTAL 821 /** * NvLink lane ecc_err_count for lane 5 on ports 0-17 */ #define DCGM_FI_DEV_NVSWITCH_LINK_ECC_ERROR_L5_TOTAL 822 /** * NvLink lane ecc_err_count for lane 6 on ports 0-17 */ #define DCGM_FI_DEV_NVSWITCH_LINK_ECC_ERROR_L6_TOTAL 823 /** * NvLink lane ecc_err_count for lane 7 on ports 0-17 */ #define DCGM_FI_DEV_NVSWITCH_LINK_ECC_ERROR_L7_TOTAL 824 /** * NV Link TX Throughput for Lane 0 */ #define DCGM_FI_DEV_NVLINK_TX_THROUGHPUT_L0 825 /** * NV Link TX Throughput for Lane 1 */ #define DCGM_FI_DEV_NVLINK_TX_THROUGHPUT_L1 826 /** * NV Link TX Throughput for Lane 2 */ #define DCGM_FI_DEV_NVLINK_TX_THROUGHPUT_L2 827 /** * NV Link TX Throughput for Lane 3 */ #define DCGM_FI_DEV_NVLINK_TX_THROUGHPUT_L3 828 /** * NV Link TX Throughput for Lane 4 */ #define DCGM_FI_DEV_NVLINK_TX_THROUGHPUT_L4 829 /** * NV Link TX Throughput for Lane 5 */ #define DCGM_FI_DEV_NVLINK_TX_THROUGHPUT_L5 830 /** * NV Link TX Throughput for Lane 6 */ #define DCGM_FI_DEV_NVLINK_TX_THROUGHPUT_L6 831 /** * NV Link TX Throughput for Lane 7 */ #define DCGM_FI_DEV_NVLINK_TX_THROUGHPUT_L7 832 /** * NV Link TX Throughput for Lane 8 */ #define DCGM_FI_DEV_NVLINK_TX_THROUGHPUT_L8 833 /** * NV Link TX Throughput for Lane 9 */ #define DCGM_FI_DEV_NVLINK_TX_THROUGHPUT_L9 834 /** * NV Link TX Throughput for Lane 10 */ #define DCGM_FI_DEV_NVLINK_TX_THROUGHPUT_L10 835 /** * NV Link TX Throughput for Lane 11 */ #define DCGM_FI_DEV_NVLINK_TX_THROUGHPUT_L11 836 /** * NV Link TX Throughput for Lane 12 */ #define DCGM_FI_DEV_NVLINK_TX_THROUGHPUT_L12 837 /** * NV Link TX Throughput for Lane 13 */ #define DCGM_FI_DEV_NVLINK_TX_THROUGHPUT_L13 838 /** * NV Link TX Throughput for Lane 14 */ #define DCGM_FI_DEV_NVLINK_TX_THROUGHPUT_L14 839 /** * NV Link TX Throughput for Lane 15 */ #define DCGM_FI_DEV_NVLINK_TX_THROUGHPUT_L15 840 /** * NV Link TX Throughput for Lane 16 */ #define DCGM_FI_DEV_NVLINK_TX_THROUGHPUT_L16 841 /** * NV Link TX Throughput for Lane 17 */ #define DCGM_FI_DEV_NVLINK_TX_THROUGHPUT_L17 842 /** * NV Link Throughput total for all TX Lanes */ #define DCGM_FI_DEV_NVLINK_TX_THROUGHPUT_TOTAL 843 /** * NVSwitch fatal error information. * Note: value field indicates the specific SXid reported */ #define DCGM_FI_DEV_SXID_FATAL_ERROR 856 /** * NVSwitch non fatal error information. * Note: value field indicates the specific SXid reported */ #define DCGM_FI_DEV_SXID_NON_FATAL_ERROR 857 /** * NVSwitch current temperature. */ #define DCGM_FI_DEV_NVSWITCH_TEMP_CELSIUS 858 /** * NVSwitch limit slowdown temperature. */ #define DCGM_FI_DEV_NVSWITCH_TEMP_SLOWDOWN_CELSIUS 859 /** * NVSwitch limit shutdown temperature. */ #define DCGM_FI_DEV_NVSWITCH_TEMP_SHUTDOWN_CELSIUS 860 /** * NVSwitch throughput Tx. */ #define DCGM_FI_DEV_NVSWITCH_THROUGHPUT_TX 861 /** * NVSwitch throughput Rx. */ #define DCGM_FI_DEV_NVSWITCH_THROUGHPUT_RX 862 /* * NVSwitch Physical ID. */ #define DCGM_FI_DEV_NVSWITCH_PHYSICAL_ID 863 /** * NVSwitch reset required. */ #define DCGM_FI_DEV_NVSWITCH_RESET_REQUIRED 864 /** * NvSwitch NvLink ID */ #define DCGM_FI_DEV_NVSWITCH_LINK_ID 865 /** * NvSwitch PCIE domain */ #define DCGM_FI_DEV_NVSWITCH_PCIE_DOMAIN 866 /** * NvSwitch PCIE bus */ #define DCGM_FI_DEV_NVSWITCH_PCIE_BUS 867 /** * NvSwitch PCIE device */ #define DCGM_FI_DEV_NVSWITCH_PCIE_DEVICE 868 /** * NvSwitch PCIE function */ #define DCGM_FI_DEV_NVSWITCH_PCIE_FUNCTION 869 /** * NvLink status. UNKNOWN:-1 OFF:0 SAFE:1 ACTIVE:2 ERROR:3 */ #define DCGM_FI_DEV_NVSWITCH_LINK_STATUS 870 /** * NvLink device type (NSCQ: GPU=1, Switch=2; NVSDM: CA=1, Switch=2, GPU=5) */ #define DCGM_FI_DEV_NVSWITCH_LINK_TYPE 871 /** * NvLink device pcie domain. */ #define DCGM_FI_DEV_NVSWITCH_LINK_REMOTE_PCIE_DOMAIN 872 /** * NvLink device pcie bus. */ #define DCGM_FI_DEV_NVSWITCH_LINK_REMOTE_PCIE_BUS 873 /** * NvLink device pcie device. */ #define DCGM_FI_DEV_NVSWITCH_LINK_REMOTE_PCIE_DEVICE 874 /** * NvLink device pcie function. */ #define DCGM_FI_DEV_NVSWITCH_LINK_REMOTE_PCIE_FUNCTION 875 /** * NvLink device link ID */ #define DCGM_FI_DEV_NVSWITCH_LINK_REMOTE_LINK_ID 876 /** * NvLink device SID. */ #define DCGM_FI_DEV_NVSWITCH_LINK_REMOTE_LINK_SID 877 /** * NvLink device switch/link uid. */ #define DCGM_FI_DEV_NVSWITCH_UUID 878 /** * NV Link RX Throughput for Lane 0 */ #define DCGM_FI_DEV_NVLINK_RX_THROUGHPUT_L0 879 /** * NV Link RX Throughput for Lane 1 */ #define DCGM_FI_DEV_NVLINK_RX_THROUGHPUT_L1 880 /** * NV Link RX Throughput for Lane 2 */ #define DCGM_FI_DEV_NVLINK_RX_THROUGHPUT_L2 881 /** * NV Link RX Throughput for Lane 3 */ #define DCGM_FI_DEV_NVLINK_RX_THROUGHPUT_L3 882 /** * NV Link RX Throughput for Lane 4 */ #define DCGM_FI_DEV_NVLINK_RX_THROUGHPUT_L4 883 /** * NV Link RX Throughput for Lane 5 */ #define DCGM_FI_DEV_NVLINK_RX_THROUGHPUT_L5 884 /** * NV Link RX Throughput for Lane 6 */ #define DCGM_FI_DEV_NVLINK_RX_THROUGHPUT_L6 885 /** * NV Link RX Throughput for Lane 7 */ #define DCGM_FI_DEV_NVLINK_RX_THROUGHPUT_L7 886 /** * NV Link RX Throughput for Lane 8 */ #define DCGM_FI_DEV_NVLINK_RX_THROUGHPUT_L8 887 /** * NV Link RX Throughput for Lane 9 */ #define DCGM_FI_DEV_NVLINK_RX_THROUGHPUT_L9 888 /** * NV Link RX Throughput for Lane 10 */ #define DCGM_FI_DEV_NVLINK_RX_THROUGHPUT_L10 889 /** * NV Link RX Throughput for Lane 11 */ #define DCGM_FI_DEV_NVLINK_RX_THROUGHPUT_L11 890 /** * NV Link RX Throughput for Lane 12 */ #define DCGM_FI_DEV_NVLINK_RX_THROUGHPUT_L12 891 /** * NV Link RX Throughput for Lane 13 */ #define DCGM_FI_DEV_NVLINK_RX_THROUGHPUT_L13 892 /** * NV Link RX Throughput for Lane 14 */ #define DCGM_FI_DEV_NVLINK_RX_THROUGHPUT_L14 893 /** * NV Link RX Throughput for Lane 15 */ #define DCGM_FI_DEV_NVLINK_RX_THROUGHPUT_L15 894 /** * NV Link RX Throughput for Lane 16 */ #define DCGM_FI_DEV_NVLINK_RX_THROUGHPUT_L16 895 /** * NV Link RX Throughput for Lane 17 */ #define DCGM_FI_DEV_NVLINK_RX_THROUGHPUT_L17 896 /** * NV Link Throughput total for all RX Lanes */ #define DCGM_FI_DEV_NVLINK_RX_THROUGHPUT_TOTAL 897 /** * Last field ID of the NVSwitch instance */ #define DCGM_FI_LAST_NVSWITCH_FIELD_ID 899 /** * For now max NVSwitch field Ids taken as difference of DCGM_FI_LAST_NVSWITCH_FIELD_ID and * DCGM_FI_FIRST_NVSWITCH_FIELD_ID + 1 i.e. 200 */ #define DCGM_FI_MAX_NVSWITCH_FIELDS DCGM_FI_LAST_NVSWITCH_FIELD_ID - DCGM_FI_FIRST_NVSWITCH_FIELD_ID + 1 /** * Profiling Fields. These all start with DCGM_FI_PROF_* */ /** * Ratio of time the graphics engine is active. The graphics engine is * active if a graphics/compute context is bound and the graphics pipe or * compute pipe is busy. */ #define DCGM_FI_PROF_GR_ENGINE_UTIL_RATIO 1001 /** * The ratio of cycles an SM has at least 1 warp assigned * (computed from the number of cycles and elapsed cycles) */ #define DCGM_FI_PROF_SM_UTIL_RATIO 1002 /** * The ratio of number of warps resident on an SM. * (number of resident as a ratio of the theoretical * maximum number of warps per elapsed cycle) */ #define DCGM_FI_PROF_SM_OCCUPANCY_RATIO 1003 /** * The ratio of cycles the any tensor pipe is active * (off the peak sustained elapsed cycles) */ #define DCGM_FI_PROF_TENSOR_UTIL_RATIO 1004 /** * The ratio of cycles the device memory interface is * active sending or receiving data. */ #define DCGM_FI_PROF_DRAM_UTIL_RATIO 1005 /** * Ratio of cycles the fp64 pipe is active. */ #define DCGM_FI_PROF_FP64_UTIL_RATIO 1006 /** * Ratio of cycles the fp32 pipe is active. */ #define DCGM_FI_PROF_FP32_UTIL_RATIO 1007 /** * Ratio of cycles the fp16 pipe is active. This does not include HMMA. */ #define DCGM_FI_PROF_FP16_UTIL_RATIO 1008 /** * The number of bytes of active PCIe tx (transmit) data including both header and payload. * * Note that this is from the perspective of the GPU, so copying data from device to host (DtoH) * would be reflected in this metric. */ #define DCGM_FI_PROF_PCIE_TX_BYTES 1009 /** * The number of bytes of active PCIe rx (read) data including both header and payload. * * Note that this is from the perspective of the GPU, so copying data from host to device (HtoD) * would be reflected in this metric. */ #define DCGM_FI_PROF_PCIE_RX_BYTES 1010 /** * The total number of bytes of active NvLink tx (transmit) data including both header and payload. * Per-link fields are available below */ #define DCGM_FI_PROF_NVLINK_TX_BYTES 1011 /** * The total number of bytes of active NvLink rx (read) data including both header and payload. * Per-link fields are available below */ #define DCGM_FI_PROF_NVLINK_RX_BYTES 1012 /** * The ratio of cycles the tensor (IMMA) pipe is active (off the peak sustained elapsed cycles) */ #define DCGM_FI_PROF_IMMA_UTIL_RATIO 1013 /** * The ratio of cycles the tensor (HMMA) pipe is active (off the peak sustained elapsed cycles) */ #define DCGM_FI_PROF_HMMA_UTIL_RATIO 1014 /** * The ratio of cycles the tensor (DFMA) pipe is active (off the peak sustained elapsed cycles) */ #define DCGM_FI_PROF_DFMA_UTIL_RATIO 1015 /** * Ratio of cycles the integer pipe is active. */ #define DCGM_FI_PROF_INT_UTIL_RATIO 1016 /** * Ratio of cycles each of the NVDEC engines are active. */ #define DCGM_FI_PROF_NVDEC_UTIL_0_RATIO 1017 #define DCGM_FI_PROF_NVDEC_UTIL_1_RATIO 1018 #define DCGM_FI_PROF_NVDEC_UTIL_2_RATIO 1019 #define DCGM_FI_PROF_NVDEC_UTIL_3_RATIO 1020 #define DCGM_FI_PROF_NVDEC_UTIL_4_RATIO 1021 #define DCGM_FI_PROF_NVDEC_UTIL_5_RATIO 1022 #define DCGM_FI_PROF_NVDEC_UTIL_6_RATIO 1023 #define DCGM_FI_PROF_NVDEC_UTIL_7_RATIO 1024 /** * Ratio of cycles each of the NVJPG engines are active. */ #define DCGM_FI_PROF_NVJPG_UTIL_0_RATIO 1025 #define DCGM_FI_PROF_NVJPG_UTIL_1_RATIO 1026 #define DCGM_FI_PROF_NVJPG_UTIL_2_RATIO 1027 #define DCGM_FI_PROF_NVJPG_UTIL_3_RATIO 1028 #define DCGM_FI_PROF_NVJPG_UTIL_4_RATIO 1029 #define DCGM_FI_PROF_NVJPG_UTIL_5_RATIO 1030 #define DCGM_FI_PROF_NVJPG_UTIL_6_RATIO 1031 #define DCGM_FI_PROF_NVJPG_UTIL_7_RATIO 1032 /** * Ratio of cycles each of the NVOFA engines are active. */ #define DCGM_FI_PROF_NVOFA_UTIL_0_RATIO 1033 #define DCGM_FI_PROF_NVOFA_UTIL_1_RATIO 1034 /** * The per-link number of bytes of active NvLink TX (transmit) or RX (transmit) data including both header and payload. * For example: DCGM_FI_PROF_NVLINK_L0_TX_BYTES -> L0 TX * To get the bandwidth for a link, add the RX and TX value together like * total = DCGM_FI_PROF_NVLINK_L0_TX_BYTES + DCGM_FI_PROF_NVLINK_L0_RX_BYTES */ #define DCGM_FI_PROF_NVLINK_L0_TX_BYTES 1040 #define DCGM_FI_PROF_NVLINK_L0_RX_BYTES 1041 #define DCGM_FI_PROF_NVLINK_L1_TX_BYTES 1042 #define DCGM_FI_PROF_NVLINK_L1_RX_BYTES 1043 #define DCGM_FI_PROF_NVLINK_L2_TX_BYTES 1044 #define DCGM_FI_PROF_NVLINK_L2_RX_BYTES 1045 #define DCGM_FI_PROF_NVLINK_L3_TX_BYTES 1046 #define DCGM_FI_PROF_NVLINK_L3_RX_BYTES 1047 #define DCGM_FI_PROF_NVLINK_L4_TX_BYTES 1048 #define DCGM_FI_PROF_NVLINK_L4_RX_BYTES 1049 #define DCGM_FI_PROF_NVLINK_L5_TX_BYTES 1050 #define DCGM_FI_PROF_NVLINK_L5_RX_BYTES 1051 #define DCGM_FI_PROF_NVLINK_L6_TX_BYTES 1052 #define DCGM_FI_PROF_NVLINK_L6_RX_BYTES 1053 #define DCGM_FI_PROF_NVLINK_L7_TX_BYTES 1054 #define DCGM_FI_PROF_NVLINK_L7_RX_BYTES 1055 #define DCGM_FI_PROF_NVLINK_L8_TX_BYTES 1056 #define DCGM_FI_PROF_NVLINK_L8_RX_BYTES 1057 #define DCGM_FI_PROF_NVLINK_L9_TX_BYTES 1058 #define DCGM_FI_PROF_NVLINK_L9_RX_BYTES 1059 #define DCGM_FI_PROF_NVLINK_L10_TX_BYTES 1060 #define DCGM_FI_PROF_NVLINK_L10_RX_BYTES 1061 #define DCGM_FI_PROF_NVLINK_L11_TX_BYTES 1062 #define DCGM_FI_PROF_NVLINK_L11_RX_BYTES 1063 #define DCGM_FI_PROF_NVLINK_L12_TX_BYTES 1064 #define DCGM_FI_PROF_NVLINK_L12_RX_BYTES 1065 #define DCGM_FI_PROF_NVLINK_L13_TX_BYTES 1066 #define DCGM_FI_PROF_NVLINK_L13_RX_BYTES 1067 #define DCGM_FI_PROF_NVLINK_L14_TX_BYTES 1068 #define DCGM_FI_PROF_NVLINK_L14_RX_BYTES 1069 #define DCGM_FI_PROF_NVLINK_L15_TX_BYTES 1070 #define DCGM_FI_PROF_NVLINK_L15_RX_BYTES 1071 #define DCGM_FI_PROF_NVLINK_L16_TX_BYTES 1072 #define DCGM_FI_PROF_NVLINK_L16_RX_BYTES 1073 #define DCGM_FI_PROF_NVLINK_L17_TX_BYTES 1074 #define DCGM_FI_PROF_NVLINK_L17_RX_BYTES 1075 /** * The total number of bytes transmitted over the C2C (Chip-to-Chip) interface, including both header and payload data */ #define DCGM_FI_PROF_C2C_TX_ALL_BYTES 1076 /** * The number of data-only bytes transmitted over the C2C (Chip-to-Chip) interface */ #define DCGM_FI_PROF_C2C_TX_DATA_BYTES 1077 /** * The total number of bytes received over the C2C (Chip-to-Chip) interface, including both header and payload data */ #define DCGM_FI_PROF_C2C_RX_ALL_BYTES 1078 /** * The number of data-only bytes received over the C2C (Chip-to-Chip) interface */ #define DCGM_FI_PROF_C2C_RX_DATA_BYTES 1079 /** * Host Memory Cache Hit * * Percentage of requests to Host Memory that were served from cache */ #define DCGM_FI_PROF_HOSTMEM_CACHE_HIT 1080 /** * Host Memory Cache Miss * * Percentage of requests to Host Memory that were cache misses */ #define DCGM_FI_PROF_HOSTMEM_CACHE_MISS 1081 /** * Peer Memory Cache Hit * * Percentage of requests to Peer Memory that were served from cache */ #define DCGM_FI_PROF_PEERMEM_CACHE_HIT 1082 /** * Peer Memory Cache Miss * * Percentage of requests to Peer Memory that were cache misses */ #define DCGM_FI_PROF_PEERMEM_CACHE_MISS 1083 /** * SM Cycles Elapsed * * Raw monotonic counter of GPU SM cycles elapsed. */ #define DCGM_FI_PROF_SM_CYCLES_ELAPSED_TOTAL 1084 /** * SM Cycles Active * * Raw monotonic counter of GPU SM cycles where at least one warp was active. */ #define DCGM_FI_PROF_SM_CYCLES_ACTIVE_TOTAL 1085 /** * MMA Cycles Active * * Raw monotonic counter of GPU SM MMA (any tensor) cycles active. */ #define DCGM_FI_PROF_MMA_CYCLES_ACTIVE_TOTAL 1086 /** * DMMA Cycles Active * * Raw monotonic counter of GPU SM DMMA tensor cycles active. */ #define DCGM_FI_PROF_DMMA_CYCLES_ACTIVE_TOTAL 1087 /** * HMMA Cycles Active * * Raw monotonic counter of GPU SM HMMA tensor cycles active. */ #define DCGM_FI_PROF_HMMA_CYCLES_ACTIVE_TOTAL 1088 /** * IMMA Cycles Active * * Raw monotonic counter of GPU SM IMMA tensor cycles active. */ #define DCGM_FI_PROF_IMMA_CYCLES_ACTIVE_TOTAL 1089 /** * DFMA Cycles Active * * Raw monotonic counter of GPU SM DFMA tensor cycles active. */ #define DCGM_FI_PROF_DFMA_CYCLES_ACTIVE_TOTAL 1090 /** * PCIe TX Bytes Total * * Cumulative counter of PCIe TX traffic in bytes. */ #define DCGM_FI_PROF_PCIE_TX_BYTES_TOTAL 1091 /** * PCIe RX Bytes Total * * Cumulative counter of PCIe RX traffic in bytes. */ #define DCGM_FI_PROF_PCIE_RX_BYTES_TOTAL 1092 /** * Integer Cycles Active * * Raw monotonic counter of GPU SM integer pipe cycles active. */ #define DCGM_FI_PROF_INT_CYCLES_ACTIVE_TOTAL 1093 /** * FP64 Cycles Active * * Raw monotonic counter of GPU SM FP64 pipe cycles active. */ #define DCGM_FI_PROF_FP64_CYCLES_ACTIVE_TOTAL 1094 /** * FP32 Cycles Active * * Raw monotonic counter of GPU SM FP32 pipe cycles active. */ #define DCGM_FI_PROF_FP32_CYCLES_ACTIVE_TOTAL 1095 /** * FP16 Cycles Active * * Raw monotonic counter of GPU SM FP16 pipe cycles active. */ #define DCGM_FI_PROF_FP16_CYCLES_ACTIVE_TOTAL 1096 /** * CPU Utilization, total */ #define DCGM_FI_DEV_CPU_UTIL_TOTAL 1100 /** * CPU Utilization, user */ #define DCGM_FI_DEV_CPU_UTIL_USER 1101 /** * CPU Utilization, nice */ #define DCGM_FI_DEV_CPU_UTIL_NICE 1102 /** * CPU Utilization, system time */ #define DCGM_FI_DEV_CPU_UTIL_SYS 1103 /** * CPU Utilization, interrupt servicing */ #define DCGM_FI_DEV_CPU_UTIL_IRQ 1104 /** * CPU temperature */ #define DCGM_FI_DEV_CPU_TEMP_CELSIUS 1110 /** * CPU Warning Temperature */ #define DCGM_FI_DEV_CPU_TEMP_WARNING_CELSIUS 1111 /** * CPU Critical Temperature */ #define DCGM_FI_DEV_CPU_TEMP_CRITICAL_CELSIUS 1112 /** * CPU instantaneous clock speed */ #define DCGM_FI_DEV_CPU_CLOCK_CURRENT 1120 /** * CPU power utilization */ #define DCGM_FI_DEV_CPU_POWER_WATTS 1130 /** * CPU power limit */ #define DCGM_FI_DEV_CPU_POWER_LIMIT_WATTS 1131 /** * SoC power utilization */ #define DCGM_FI_DEV_SYSIO_POWER_UTIL_CURRENT 1132 /** * Module power utilization */ #define DCGM_FI_DEV_MODULE_POWER_UTIL_CURRENT 1133 /** * CPU vendor name */ #define DCGM_FI_DEV_CPU_VENDOR 1140 /** * CPU model name */ #define DCGM_FI_DEV_CPU_MODEL 1141 /** * Total Tx packets on the link in NVLink5 * Note: NVLink5+ only. Returns aggregate value across all links. Not supported on NVLink4 and earlier. */ #define DCGM_FI_DEV_NVLINK_TX_PACKET_TOTAL 1200 /** * Total Tx bytes on the link in NVLink5 * Note: NVLink5+ only. Returns aggregate value across all links. Not supported on NVLink4 and earlier. */ #define DCGM_FI_DEV_NVLINK_TX_BYTES_TOTAL 1201 /** * Total Rx packets on the link in NVLink5 * Note: NVLink5+ only. Returns aggregate value across all links. Not supported on NVLink4 and earlier. */ #define DCGM_FI_DEV_NVLINK_RX_PACKET_TOTAL 1202 /** * Total Rx bytes on the link in NVLink5 * Note: NVLink5+ only. Returns aggregate value across all links. Not supported on NVLink4 and earlier. */ #define DCGM_FI_DEV_NVLINK_RX_BYTES_TOTAL 1203 /** * Number of packets Rx on a link where packets are malformed * Note: NVLink5+ only. Returns aggregate value across all links. Not supported on NVLink4 and earlier. */ #define DCGM_FI_DEV_NVLINK_RX_PACKET_MALFORMED_TOTAL 1204 /** * Number of packets that were discarded on Rx due to buffer overrun * Note: NVLink5+ only. Returns aggregate value across all links. Not supported on NVLink4 and earlier. */ #define DCGM_FI_DEV_NVLINK_RX_PACKET_DROPPED_TOTAL 1205 /** * Total number of packets with errors Rx on a link * Note: NVLink5+ only. Returns aggregate value across all links. Not supported on NVLink4 and earlier. */ #define DCGM_FI_DEV_NVLINK_RX_ERROR_TOTAL 1206 /** * Total number of packets Rx - stomp/EBP marker * Note: NVLink5+ only. Returns aggregate value across all links. Not supported on NVLink4 and earlier. */ #define DCGM_FI_DEV_NVLINK_RX_REMOTE_ERROR_TOTAL 1207 /** * Total number of packets Rx with header mismatch * Note: NVLink5+ only. Returns aggregate value across all links. Not supported on NVLink4 and earlier. */ #define DCGM_FI_DEV_NVLINK_RX_GENERAL_ERROR_TOTAL 1208 /** * Total number of times that the count of local errors exceeded a threshold * Note: NVLink5+ only. Returns aggregate value across all links. Not supported on NVLink4 and earlier. */ #define DCGM_FI_DEV_NVLINK_INTEGRITY_ERROR_TOTAL 1209 /** * Total number of tx error packets that were discarded * Note: NVLink5+ only. Returns aggregate value across all links. Not supported on NVLink4 and earlier. */ #define DCGM_FI_DEV_NVLINK_COUNT_TX_DISCARDS 1210 /** * Number of times link went from Up to recovery, succeeded and link came back up * Note: NVLink5+ only. Returns aggregate value across all links. Not supported on NVLink4 and earlier. */ #define DCGM_FI_DEV_NVLINK_RECOVERY_SUCCESSFUL_TOTAL 1211 /** * Number of times link went from Up to recovery, failed and link was declared down * Note: NVLink5+ only. Returns aggregate value across all links. Not supported on NVLink4 and earlier. */ #define DCGM_FI_DEV_NVLINK_RECOVERY_FAILED_TOTAL 1212 /** * Number of times link went from Up to recovery, irrespective of the result * Note: NVLink5+ only. Returns aggregate value across all links. Not supported on NVLink4 and earlier. */ #define DCGM_FI_DEV_NVLINK_RECOVERY_EVENT_TOTAL 1213 /** * Number of errors in rx symbols * Note: NVLink5+ only. Returns aggregate value across all links. Not supported on NVLink4 and earlier. */ #define DCGM_FI_DEV_NVLINK_RX_SYMBOL_ERROR_TOTAL 1214 /** * BER for symbol errors - raw value * Note: NVLink5+ only. Returns aggregate value across all links. Not supported on NVLink4 and earlier. */ #define DCGM_FI_DEV_NVLINK_SYMBOL_BER_RAW 1215 /** * BER for symbol errors - decoded float (derived from DCGM_FI_DEV_NVLINK_SYMBOL_BER_RAW) * Note: NVLink5+ only. Returns aggregate value across all links. Not supported on NVLink4 and earlier. */ #define DCGM_FI_DEV_NVLINK_SYMBOL_BER_RATIO 1216 /** * Effective BER for effective errors - raw value * Note: NVLink5+ only. Returns aggregate value across all links. Not supported on NVLink4 and earlier. */ #define DCGM_FI_DEV_NVLINK_EFFECTIVE_BER_RAW 1217 /** * Effective BER for effective errors - decoded float (derived from DCGM_FI_DEV_NVLINK_EFFECTIVE_BER_RAW) * Note: NVLink5+ only. Returns aggregate value across all links. Not supported on NVLink4 and earlier. */ #define DCGM_FI_DEV_NVLINK_EFFECTIVE_BER_RATIO 1218 /** * Sum of the number of errors in each Nvlink packet * Note: NVLink5+ only. Returns aggregate value across all links. Not supported on NVLink4 and earlier. */ #define DCGM_FI_DEV_NVLINK_EFFECTIVE_ERROR_TOTAL 1219 /** * NVLink ECC Data Error Counter total for all Links */ #define DCGM_FI_DEV_NVLINK_ECC_ERROR_TOTAL 1220 /** * First field id of ConnectX */ #define DCGM_FI_DEV_FIRST_CONNECTX_FIELD_ID 1300 /** * Health state of ConnectX */ #define DCGM_FI_DEV_CONNECTX_HEALTH 1300 /** * Active PCIe link width */ #define DCGM_FI_DEV_CONNECTX_ACTIVE_PCIE_LINK_WIDTH 1301 /** * Active PCIe link speed */ #define DCGM_FI_DEV_CONNECTX_ACTIVE_PCIE_LINK_SPEED 1302 /** * Expect PCIe link width */ #define DCGM_FI_DEV_CONNECTX_EXPECT_PCIE_LINK_WIDTH 1303 /** * Expect PCIe link speed */ #define DCGM_FI_DEV_CONNECTX_EXPECT_PCIE_LINK_SPEED 1304 /** * Correctable error status */ #define DCGM_FI_DEV_CONNECTX_CORRECTABLE_ERR_STATUS 1305 /** * Correctable error mask */ #define DCGM_FI_DEV_CONNECTX_CORRECTABLE_ERR_MASK 1306 /** * Uncorrectable error status */ #define DCGM_FI_DEV_CONNECTX_UNCORRECTABLE_ERROR_STATUS 1307 /** * Uncorrectable error mask */ #define DCGM_FI_DEV_CONNECTX_UNCORRECTABLE_ERROR_MASK 1308 /** * Uncorrectable error severity */ #define DCGM_FI_DEV_CONNECTX_UNCORRECTABLE_ERROR_SEVERITY 1309 /** * Device temperature */ #define DCGM_FI_DEV_CONNECTX_DEVICE_TEMPERATURE 1310 /** * The last field id of ConnectX */ #define DCGM_FI_DEV_LAST_CONNECTX_FIELD_ID 1399 /** * C2C Link CRC Error Counter */ #define DCGM_FI_DEV_C2C_LINK_ERROR_INTR 1400 /** * C2C Link Replay Error Counter */ #define DCGM_FI_DEV_C2C_LINK_ERROR_REPLAY 1401 /** * C2C Link Back to Back Replay Error Counter */ #define DCGM_FI_DEV_C2C_LINK_ERROR_REPLAY_B2B 1402 /** * C2C Link Power state. See NVML_C2C_POWER_STATE_* */ #define DCGM_FI_DEV_C2C_LINK_POWER_STATE 1403 /** * Count of symbol errors that are corrected in each bin. */ /** * Count of symbol errors that are corrected - bin 0 * Note: NVLink5+ only. Returns aggregate value across all links. Not supported on NVLink4 and earlier. */ #define DCGM_FI_DEV_NVLINK_COUNT_FEC_HISTORY_0 1404 /** * Count of symbol errors that are corrected - bin 1 * Note: NVLink5+ only. Returns aggregate value across all links. Not supported on NVLink4 and earlier. */ #define DCGM_FI_DEV_NVLINK_COUNT_FEC_HISTORY_1 1405 /** * Count of symbol errors that are corrected - bin 2 * Note: NVLink5+ only. Returns aggregate value across all links. Not supported on NVLink4 and earlier. */ #define DCGM_FI_DEV_NVLINK_COUNT_FEC_HISTORY_2 1406 /** * Count of symbol errors that are corrected - bin 3 * Note: NVLink5+ only. Returns aggregate value across all links. Not supported on NVLink4 and earlier. */ #define DCGM_FI_DEV_NVLINK_COUNT_FEC_HISTORY_3 1407 /** * Count of symbol errors that are corrected - bin 4 * Note: NVLink5+ only. Returns aggregate value across all links. Not supported on NVLink4 and earlier. */ #define DCGM_FI_DEV_NVLINK_COUNT_FEC_HISTORY_4 1408 /** * Count of symbol errors that are corrected - bin 5 * Note: NVLink5+ only. Returns aggregate value across all links. Not supported on NVLink4 and earlier. */ #define DCGM_FI_DEV_NVLINK_COUNT_FEC_HISTORY_5 1409 /** * Count of symbol errors that are corrected - bin 6 * Note: NVLink5+ only. Returns aggregate value across all links. Not supported on NVLink4 and earlier. */ #define DCGM_FI_DEV_NVLINK_COUNT_FEC_HISTORY_6 1410 /** * Count of symbol errors that are corrected - bin 7 * Note: NVLink5+ only. Returns aggregate value across all links. Not supported on NVLink4 and earlier. */ #define DCGM_FI_DEV_NVLINK_COUNT_FEC_HISTORY_7 1411 /** * Count of symbol errors that are corrected - bin 8 * Note: NVLink5+ only. Returns aggregate value across all links. Not supported on NVLink4 and earlier. */ #define DCGM_FI_DEV_NVLINK_COUNT_FEC_HISTORY_8 1412 /** * Count of symbol errors that are corrected - bin 9 * Note: NVLink5+ only. Returns aggregate value across all links. Not supported on NVLink4 and earlier. */ #define DCGM_FI_DEV_NVLINK_COUNT_FEC_HISTORY_9 1413 /** * Count of symbol errors that are corrected - bin 10 * Note: NVLink5+ only. Returns aggregate value across all links. Not supported on NVLink4 and earlier. */ #define DCGM_FI_DEV_NVLINK_COUNT_FEC_HISTORY_10 1414 /** * Count of symbol errors that are corrected - bin 11 * Note: NVLink5+ only. Returns aggregate value across all links. Not supported on NVLink4 and earlier. */ #define DCGM_FI_DEV_NVLINK_COUNT_FEC_HISTORY_11 1415 /** * Count of symbol errors that are corrected - bin 12 * Note: NVLink5+ only. Returns aggregate value across all links. Not supported on NVLink4 and earlier. */ #define DCGM_FI_DEV_NVLINK_COUNT_FEC_HISTORY_12 1416 /** * Count of symbol errors that are corrected - bin 13 * Note: NVLink5+ only. Returns aggregate value across all links. Not supported on NVLink4 and earlier. */ #define DCGM_FI_DEV_NVLINK_COUNT_FEC_HISTORY_13 1417 /** * Count of symbol errors that are corrected - bin 14 * Note: NVLink5+ only. Returns aggregate value across all links. Not supported on NVLink4 and earlier. */ #define DCGM_FI_DEV_NVLINK_COUNT_FEC_HISTORY_14 1418 /** * Count of symbol errors that are corrected - bin 15 * Note: NVLink5+ only. Returns aggregate value across all links. Not supported on NVLink4 and earlier. */ #define DCGM_FI_DEV_NVLINK_COUNT_FEC_HISTORY_15 1419 /** * Count, in nanoseconds, of slowdown or shutdown in sampling * interval. */ /** * Throttling to not exceed currently set power limits in ns */ #define DCGM_FI_DEV_CLOCKS_EVENT_REASON_SW_POWER_CAP_NS 1420 /** * Throttling to match minimum possible clock across Sync * Boost Group in ns */ #define DCGM_FI_DEV_CLOCKS_EVENT_REASON_SYNC_BOOST_NS 1421 /** * Throttling to ensure ((GPU temp < GPU Max Operating Temp) && * (Memory Temp < Memory Max Operating Temp)) in ns */ #define DCGM_FI_DEV_CLOCKS_EVENT_REASON_SW_THERM_SLOWDOWN_NS 1422 /** * Throttling due to temperature being too high (reducing core * clocks by a factor of 2 or more) in ns */ #define DCGM_FI_DEV_CLOCKS_EVENT_REASON_HW_THERM_SLOWDOWN_NS 1423 /** * Throttling due to external power brake assertion trigger * (reducing core clocks by a factor of 2 or more) in ns */ #define DCGM_FI_DEV_CLOCKS_EVENT_REASON_HW_POWER_BRAKE_SLOWDOWN_NS 1424 /** * DCGM Power smoothing fields. */ /** * Enablement (0/DISABLED or 1/ENABLED) * * @note DCGM_FI_DEV_PWR_SMOOTHING_* fields requires that power smoothing in-band access privileges have been set to * either level 1 or level 2 (e.g. via Redfish API) */ #define DCGM_FI_DEV_PWR_SMOOTHING_ENABLED 1425 /** * Current privilege level * * @note DCGM_FI_DEV_PWR_SMOOTHING_* fields requires that power smoothing in-band access privileges have been set to * either level 1 or level 2 (e.g. via Redfish API) */ #define DCGM_FI_DEV_PWR_SMOOTHING_PRIV_LVL 1426 /** * Immediate ramp down enablement (0/DISABLED or 1/ENABLED) * * @note DCGM_FI_DEV_PWR_SMOOTHING_* fields requires that power smoothing in-band access privileges have been set to * either level 1 or level 2 (e.g. via Redfish API) */ #define DCGM_FI_DEV_PWR_SMOOTHING_IMM_RAMP_DOWN_ENABLED 1427 /** * Applied TMP ceiling value in Watts * * @note DCGM_FI_DEV_PWR_SMOOTHING_* fields requires that power smoothing in-band access privileges have been set to * either level 1 or level 2 (e.g. via Redfish API) */ #define DCGM_FI_DEV_PWR_SMOOTHING_APPLIED_TMP_CEIL 1428 /** * Applied TMP floor value in Watts * * @note DCGM_FI_DEV_PWR_SMOOTHING_* fields requires that power smoothing in-band access privileges have been set to * either level 1 or level 2 (e.g. via Redfish API) */ #define DCGM_FI_DEV_PWR_SMOOTHING_APPLIED_TMP_FLOOR 1429 /** * Max % TMP Floor value * * @note DCGM_FI_DEV_PWR_SMOOTHING_* fields requires that power smoothing in-band access privileges have been set to * either level 1 or level 2 (e.g. via Redfish API) */ #define DCGM_FI_DEV_PWR_SMOOTHING_MAX_PERCENT_TMP_FLOOR_SETTING 1430 /** * Min % TMP Floor value * * @note DCGM_FI_DEV_PWR_SMOOTHING_* fields requires that power smoothing in-band access privileges have been set to * either level 1 or level 2 (e.g. via Redfish API) */ #define DCGM_FI_DEV_PWR_SMOOTHING_MIN_PERCENT_TMP_FLOOR_SETTING 1431 /** * HW Circuitry % lifetime remaining * * @note DCGM_FI_DEV_PWR_SMOOTHING_* fields requires that power smoothing in-band access privileges have been set to * either level 1 or level 2 (e.g. via Redfish API) */ #define DCGM_FI_DEV_PWR_SMOOTHING_HW_CIRCUITRY_PERCENT_LIFETIME_REMAINING 1432 /** * Max number of preset profiles * * @note DCGM_FI_DEV_PWR_SMOOTHING_* fields requires that power smoothing in-band access privileges have been set to * either level 1 or level 2 (e.g. via Redfish API) */ #define DCGM_FI_DEV_PWR_SMOOTHING_MAX_NUM_PRESET_PROFILES 1433 /** * % TMP floor for a given profile * * @note DCGM_FI_DEV_PWR_SMOOTHING_* fields requires that power smoothing in-band access privileges have been set to * either level 1 or level 2 (e.g. via Redfish API) */ #define DCGM_FI_DEV_PWR_SMOOTHING_PROFILE_PERCENT_TMP_FLOOR 1434 /** * Ramp up rate in mW/s for a given profile * * @note DCGM_FI_DEV_PWR_SMOOTHING_* fields requires that power smoothing in-band access privileges have been set to * either level 1 or level 2 (e.g. via Redfish API) */ #define DCGM_FI_DEV_PWR_SMOOTHING_PROFILE_RAMP_UP_RATE 1435 /** * Ramp down rate in mW/s for a given profile * * @note DCGM_FI_DEV_PWR_SMOOTHING_* fields requires that power smoothing in-band access privileges have been set to * either level 1 or level 2 (e.g. via Redfish API) */ #define DCGM_FI_DEV_PWR_SMOOTHING_PROFILE_RAMP_DOWN_RATE 1436 /** * Ramp down hysteresis value in ms for a given profile * * @note DCGM_FI_DEV_PWR_SMOOTHING_* fields requires that power smoothing in-band access privileges have been set to * either level 1 or level 2 (e.g. via Redfish API) */ #define DCGM_FI_DEV_PWR_SMOOTHING_PROFILE_RAMP_DOWN_HYST_VAL 1437 /** * Active preset profile number * * @note DCGM_FI_DEV_PWR_SMOOTHING_* fields requires that power smoothing in-band access privileges have been set to * either level 1 or level 2 (e.g. via Redfish API) */ #define DCGM_FI_DEV_PWR_SMOOTHING_ACTIVE_PRESET_PROFILE 1438 /** * % TMP floor for a given profile * * @note DCGM_FI_DEV_PWR_SMOOTHING_* fields requires that power smoothing in-band access privileges have been set to * either level 1 or level 2 (e.g. via Redfish API) */ #define DCGM_FI_DEV_PWR_SMOOTHING_ADMIN_OVERRIDE_PERCENT_TMP_FLOOR 1439 /** * Ramp up rate in mW/s for a given profile * * @note DCGM_FI_DEV_PWR_SMOOTHING_* fields requires that power smoothing in-band access privileges have been set to * either level 1 or level 2 (e.g. via Redfish API) */ #define DCGM_FI_DEV_PWR_SMOOTHING_ADMIN_OVERRIDE_RAMP_UP_RATE 1440 /** * Ramp down rate in mW/s for a given profile * * @note DCGM_FI_DEV_PWR_SMOOTHING_* fields requires that power smoothing in-band access privileges have been set to * either level 1 or level 2 (e.g. via Redfish API) */ #define DCGM_FI_DEV_PWR_SMOOTHING_ADMIN_OVERRIDE_RAMP_DOWN_RATE 1441 /** * Ramp down hysteresis value in ms for a given profile * * @note DCGM_FI_DEV_PWR_SMOOTHING_* fields requires that power smoothing in-band access privileges have been set to * either level 1 or level 2 (e.g. via Redfish API) */ #define DCGM_FI_DEV_PWR_SMOOTHING_ADMIN_OVERRIDE_RAMP_DOWN_HYST_VAL 1442 /** * 1443 to 1500 entries reserved for power smoothing fields */ /* * PCIe Correctable Errors Counter */ #define DCGM_FI_DEV_PCIE_CORRECTABLE_ERROR_TOTAL 1501 /** * IMEX domain status (UP, DOWN, DEGRADED) * Retrieved from nvidia-imex-ctl -N -j command */ #define DCGM_FI_IMEX_DOMAIN_STATUS 1502 /** * IMEX daemon status (0-7 numeric values) * Retrieved from nvidia-imex-ctl -q command * Values: INITIALIZING=0, STARTING_AUTH_SERVER=1, WAITING_FOR_PEERS=2, * WAITING_FOR_RECOVERY=3, INIT_GPU=4, READY=5, SHUTTING_DOWN=6, UNAVAILABLE=7 */ #define DCGM_FI_IMEX_DAEMON_STATUS 1503 /** * 1504 to 1506 entries reserved for power IMEX fields */ /** * Unrepairable memory flag indicating if memory has unrepairable errors * 1=yes, 0=no */ #define DCGM_FI_DEV_MEMORY_UNREPAIRABLE 1507 /** * NVLink State (see NVML_FI_DEV_NVLINK_GET_STATE for return values) * This field expects a dcgm_link_t entity to specify the GPU and link index. * Use DCGM_FE_LINK entity group when accessing this field. */ #define DCGM_FI_DEV_NVLINK_GET_STATE 1508 /** * InfiniBand Port Counter: Port Transmit Wait * (see NVML_PRM_COUNTER_ID_PPCNT_PORTCOUNTERS_PORT_XMIT_WAIT for details) * This field expects a dcgm_link_t entity to specify the GPU and link index. * Use DCGM_FE_LINK entity group when accessing this field. */ #define DCGM_FI_DEV_NVLINK_PPCNT_IBPC_PORT_XMIT_WAIT 1509 /* Values from 1510-1522 reserved for future use */ /** * GPU Recovery Action (see nvmlDeviceGpuRecoveryAction_t for return values) */ #define DCGM_FI_DEV_GPU_RECOVERY_ACTION 1523 /** * NVSwitch firmware version string */ #define DCGM_FI_DEV_NVSWITCH_FIRMWARE_VERSION 1524 /** * Per-link NVLink metrics keyed by a dcgm_link_t entity. * * Unlike the legacy DCGM_FI_DEV_NVLINK_*_L fields (one field id per link), a * single field id below covers every link. The caller selects the GPU and link * by passing a dcgm_link_t entity using the DCGM_FE_LINK entity group, so these * fields scale to any number of links (e.g. 36 on Rubin) without new field ids. * The legacy L0-L17 fields are retained as aliases for backward compatibility. */ #define DCGM_FI_DEV_NVLINK_CRC_FLIT_ERROR_PER_LINK_TOTAL 1525 #define DCGM_FI_DEV_NVLINK_CRC_DATA_ERROR_PER_LINK_TOTAL 1526 #define DCGM_FI_DEV_NVLINK_REPLAY_ERROR_PER_LINK_TOTAL 1527 #define DCGM_FI_DEV_NVLINK_RECOVERY_ERROR_PER_LINK_TOTAL 1528 #define DCGM_FI_DEV_NVLINK_THROUGHPUT_PER_LINK 1529 #define DCGM_FI_DEV_NVLINK_TX_THROUGHPUT_PER_LINK 1530 #define DCGM_FI_DEV_NVLINK_RX_THROUGHPUT_PER_LINK 1531 /** * Per-link NVLink GPM counters, keyed by a dcgm_link_t * entity (DCGM_FE_LINK entity group). The link index carried in the entity * selects the underlying NVML GPM per-link metric, so a single field id covers * every link. Distinct from the GPU-wide DCGM_FI_PROF_NVLINK_TX/RX_BYTES. */ #define DCGM_FI_PROF_NVLINK_TX_BYTES_PER_LINK 1532 #define DCGM_FI_PROF_NVLINK_RX_BYTES_PER_LINK 1533 /** * 1 greater than maximum fields above. This is the 1 greater * than the maximum field id that could be allocated. */ #define DCGM_FI_MAX_FIELDS (DCGM_FI_PROF_NVLINK_RX_BYTES_PER_LINK + 1) /** @} */ /*****************************************************************************/ /** @defgroup deprecated field names. * These will eventually be removed but are defined here for backward * compatibility. * @{ */ #ifndef DCGM_DEPRECATED #define DCGM_DEPRECATED 1 #endif /* If this symbol is non-zero the following deprecated symbols will be defined for backward compatibility. Not defining it lets us test that Nvidia DCGM code does not depend on deprecated symbols. */ #if DCGM_DEPRECATED #define DCGM_FI_DEV_NVLINK_RX_BANDWIDTH_L0 DCGM_FI_DEV_NVLINK_RX_THROUGHPUT_L0 #define DCGM_FI_DEV_NVLINK_RX_BANDWIDTH_L1 DCGM_FI_DEV_NVLINK_RX_THROUGHPUT_L1 #define DCGM_FI_DEV_NVLINK_RX_BANDWIDTH_L2 DCGM_FI_DEV_NVLINK_RX_THROUGHPUT_L2 #define DCGM_FI_DEV_NVLINK_RX_BANDWIDTH_L3 DCGM_FI_DEV_NVLINK_RX_THROUGHPUT_L3 #define DCGM_FI_DEV_NVLINK_RX_BANDWIDTH_L4 DCGM_FI_DEV_NVLINK_RX_THROUGHPUT_L4 #define DCGM_FI_DEV_NVLINK_RX_BANDWIDTH_L5 DCGM_FI_DEV_NVLINK_RX_THROUGHPUT_L5 #define DCGM_FI_DEV_NVLINK_RX_BANDWIDTH_L6 DCGM_FI_DEV_NVLINK_RX_THROUGHPUT_L6 #define DCGM_FI_DEV_NVLINK_RX_BANDWIDTH_L7 DCGM_FI_DEV_NVLINK_RX_THROUGHPUT_L7 #define DCGM_FI_DEV_NVLINK_RX_BANDWIDTH_L8 DCGM_FI_DEV_NVLINK_RX_THROUGHPUT_L8 #define DCGM_FI_DEV_NVLINK_RX_BANDWIDTH_L9 DCGM_FI_DEV_NVLINK_RX_THROUGHPUT_L9 #define DCGM_FI_DEV_NVLINK_RX_BANDWIDTH_L10 DCGM_FI_DEV_NVLINK_RX_THROUGHPUT_L10 #define DCGM_FI_DEV_NVLINK_RX_BANDWIDTH_L11 DCGM_FI_DEV_NVLINK_RX_THROUGHPUT_L11 #define DCGM_FI_DEV_NVLINK_RX_BANDWIDTH_L12 DCGM_FI_DEV_NVLINK_RX_THROUGHPUT_L12 #define DCGM_FI_DEV_NVLINK_RX_BANDWIDTH_L13 DCGM_FI_DEV_NVLINK_RX_THROUGHPUT_L13 #define DCGM_FI_DEV_NVLINK_RX_BANDWIDTH_L14 DCGM_FI_DEV_NVLINK_RX_THROUGHPUT_L14 #define DCGM_FI_DEV_NVLINK_RX_BANDWIDTH_L15 DCGM_FI_DEV_NVLINK_RX_THROUGHPUT_L15 #define DCGM_FI_DEV_NVLINK_RX_BANDWIDTH_L16 DCGM_FI_DEV_NVLINK_RX_THROUGHPUT_L16 #define DCGM_FI_DEV_NVLINK_RX_BANDWIDTH_L17 DCGM_FI_DEV_NVLINK_RX_THROUGHPUT_L17 #define DCGM_FI_DEV_NVLINK_BANDWIDTH_L0 DCGM_FI_DEV_NVLINK_THROUGHPUT_L0 #define DCGM_FI_DEV_NVLINK_BANDWIDTH_L1 DCGM_FI_DEV_NVLINK_THROUGHPUT_L1 #define DCGM_FI_DEV_NVLINK_BANDWIDTH_L2 DCGM_FI_DEV_NVLINK_THROUGHPUT_L2 #define DCGM_FI_DEV_NVLINK_BANDWIDTH_L3 DCGM_FI_DEV_NVLINK_THROUGHPUT_L3 #define DCGM_FI_DEV_NVLINK_BANDWIDTH_L4 DCGM_FI_DEV_NVLINK_THROUGHPUT_L4 #define DCGM_FI_DEV_NVLINK_BANDWIDTH_L5 DCGM_FI_DEV_NVLINK_THROUGHPUT_L5 #define DCGM_FI_DEV_NVLINK_TX_BANDWIDTH_TOTAL DCGM_FI_DEV_NVLINK_TX_THROUGHPUT_TOTAL #define DCGM_FI_DEV_NVLINK_RX_BANDWIDTH_TOTAL DCGM_FI_DEV_NVLINK_RX_THROUGHPUT_TOTAL #define DCGM_FI_DEV_NVLINK_BANDWIDTH_TOTAL DCGM_FI_DEV_NVLINK_THROUGHPUT_TOTAL #define DCGM_FI_DEV_NVLINK_BANDWIDTH_L6 DCGM_FI_DEV_NVLINK_THROUGHPUT_L6 #define DCGM_FI_DEV_NVLINK_BANDWIDTH_L7 DCGM_FI_DEV_NVLINK_THROUGHPUT_L7 #define DCGM_FI_DEV_NVLINK_BANDWIDTH_L8 DCGM_FI_DEV_NVLINK_THROUGHPUT_L8 #define DCGM_FI_DEV_NVLINK_BANDWIDTH_L9 DCGM_FI_DEV_NVLINK_THROUGHPUT_L9 #define DCGM_FI_DEV_NVLINK_BANDWIDTH_L10 DCGM_FI_DEV_NVLINK_THROUGHPUT_L10 #define DCGM_FI_DEV_NVLINK_BANDWIDTH_L11 DCGM_FI_DEV_NVLINK_THROUGHPUT_L11 #define DCGM_FI_DEV_NVLINK_BANDWIDTH_L12 DCGM_FI_DEV_NVLINK_THROUGHPUT_L12 #define DCGM_FI_DEV_NVLINK_BANDWIDTH_L13 DCGM_FI_DEV_NVLINK_THROUGHPUT_L13 #define DCGM_FI_DEV_NVLINK_BANDWIDTH_L14 DCGM_FI_DEV_NVLINK_THROUGHPUT_L14 #define DCGM_FI_DEV_NVLINK_BANDWIDTH_L15 DCGM_FI_DEV_NVLINK_THROUGHPUT_L15 #define DCGM_FI_DEV_NVLINK_BANDWIDTH_L16 DCGM_FI_DEV_NVLINK_THROUGHPUT_L16 #define DCGM_FI_DEV_NVLINK_BANDWIDTH_L17 DCGM_FI_DEV_NVLINK_THROUGHPUT_L17 #define DCGM_FI_DEV_NVLINK_TX_BANDWIDTH_L0 DCGM_FI_DEV_NVLINK_TX_THROUGHPUT_L0 #define DCGM_FI_DEV_NVLINK_TX_BANDWIDTH_L1 DCGM_FI_DEV_NVLINK_TX_THROUGHPUT_L1 #define DCGM_FI_DEV_NVLINK_TX_BANDWIDTH_L2 DCGM_FI_DEV_NVLINK_TX_THROUGHPUT_L2 #define DCGM_FI_DEV_NVLINK_TX_BANDWIDTH_L3 DCGM_FI_DEV_NVLINK_TX_THROUGHPUT_L3 #define DCGM_FI_DEV_NVLINK_TX_BANDWIDTH_L4 DCGM_FI_DEV_NVLINK_TX_THROUGHPUT_L4 #define DCGM_FI_DEV_NVLINK_TX_BANDWIDTH_L5 DCGM_FI_DEV_NVLINK_TX_THROUGHPUT_L5 #define DCGM_FI_DEV_NVLINK_TX_BANDWIDTH_L6 DCGM_FI_DEV_NVLINK_TX_THROUGHPUT_L6 #define DCGM_FI_DEV_NVLINK_TX_BANDWIDTH_L7 DCGM_FI_DEV_NVLINK_TX_THROUGHPUT_L7 #define DCGM_FI_DEV_NVLINK_TX_BANDWIDTH_L8 DCGM_FI_DEV_NVLINK_TX_THROUGHPUT_L8 #define DCGM_FI_DEV_NVLINK_TX_BANDWIDTH_L9 DCGM_FI_DEV_NVLINK_TX_THROUGHPUT_L9 #define DCGM_FI_DEV_NVLINK_TX_BANDWIDTH_L10 DCGM_FI_DEV_NVLINK_TX_THROUGHPUT_L10 #define DCGM_FI_DEV_NVLINK_TX_BANDWIDTH_L11 DCGM_FI_DEV_NVLINK_TX_THROUGHPUT_L11 #define DCGM_FI_DEV_NVLINK_TX_BANDWIDTH_L12 DCGM_FI_DEV_NVLINK_TX_THROUGHPUT_L12 #define DCGM_FI_DEV_NVLINK_TX_BANDWIDTH_L13 DCGM_FI_DEV_NVLINK_TX_THROUGHPUT_L13 #define DCGM_FI_DEV_NVLINK_TX_BANDWIDTH_L14 DCGM_FI_DEV_NVLINK_TX_THROUGHPUT_L14 #define DCGM_FI_DEV_NVLINK_TX_BANDWIDTH_L15 DCGM_FI_DEV_NVLINK_TX_THROUGHPUT_L15 #define DCGM_FI_DEV_NVLINK_TX_BANDWIDTH_L16 DCGM_FI_DEV_NVLINK_TX_THROUGHPUT_L16 #define DCGM_FI_DEV_NVLINK_TX_BANDWIDTH_L17 DCGM_FI_DEV_NVLINK_TX_THROUGHPUT_L17 // Deprecated: renamed per DCGM Field Naming Standard (see dcgmlib/dcgm_field_naming.py) // clang-format off #define DCGM_FI_UNKNOWN DCGM_FI_SYSTEM_FIELD_UNKNOWN // 0 #define DCGM_FI_DRIVER_VERSION DCGM_FI_SYSTEM_DRIVER_VERSION // 1 #define DCGM_FI_NVML_VERSION DCGM_FI_SYSTEM_NVML_VERSION // 2 #define DCGM_FI_PROCESS_NAME DCGM_FI_SYSTEM_PROCESS_NAME // 3 #define DCGM_FI_DEV_COUNT DCGM_FI_SYSTEM_GPU_QUANTITY // 4 #define DCGM_FI_BIND_UNBIND_EVENT DCGM_FI_SYSTEM_GPU_BIND_EVENT // 6 #define DCGM_FI_DEV_NAME DCGM_FI_DEV_GPU_NAME // 50 #define DCGM_FI_DEV_BRAND DCGM_FI_DEV_GPU_BRAND // 51 #define DCGM_FI_DEV_SERIAL DCGM_FI_DEV_BOARD_SERIAL // 53 #define DCGM_FI_DEV_UUID DCGM_FI_DEV_GPU_UUID // 54 #define DCGM_FI_DEV_MINOR_NUMBER DCGM_FI_DEV_GPU_MINOR_NUMBER // 55 #define DCGM_FI_DEV_OEM_INFOROM_VER DCGM_FI_DEV_INFOROM_OEM_VERSION // 56 #define DCGM_FI_DEV_PCI_BUSID DCGM_FI_DEV_PCI_BUS_ID // 57 #define DCGM_FI_GPU_TOPOLOGY_PCI DCGM_FI_SYSTEM_PCI_TOPOLOGY // 60 #define DCGM_FI_GPU_TOPOLOGY_NVLINK DCGM_FI_SYSTEM_NVLINK_TOPOLOGY // 61 #define DCGM_FI_GPU_TOPOLOGY_AFFINITY DCGM_FI_SYSTEM_GPU_AFFINITY // 62 #define DCGM_FI_DEV_CUDA_COMPUTE_CAPABILITY DCGM_FI_CUDA_GPU_COMPUTE_CAPABILITY // 63 #define DCGM_FI_DEV_P2P_NVLINK_STATUS DCGM_FI_DEV_NVLINK_P2P_STATUS // 64 #define DCGM_FI_DEV_COMPUTE_MODE DCGM_FI_DEV_GPU_COMPUTE_MODE // 65 #define DCGM_FI_DEV_PERSISTENCE_MODE DCGM_FI_DEV_GPU_PERSISTENCE_MODE // 66 #define DCGM_FI_DEV_CUDA_VISIBLE_DEVICES_STR DCGM_FI_CUDA_GPU_VISIBLE_DEVICES // 68 #define DCGM_FI_DEV_ECC_INFOROM_VER DCGM_FI_DEV_INFOROM_ECC_VERSION // 80 #define DCGM_FI_DEV_POWER_INFOROM_VER DCGM_FI_DEV_INFOROM_POWER_VERSION // 81 #define DCGM_FI_DEV_INFOROM_IMAGE_VER DCGM_FI_DEV_INFOROM_IMAGE_VERSION // 82 #define DCGM_FI_DEV_INFOROM_CONFIG_CHECK DCGM_FI_DEV_INFOROM_CHECKSUM // 83 #define DCGM_FI_DEV_INFOROM_CONFIG_VALID DCGM_FI_DEV_INFOROM_VALID // 84 #define DCGM_FI_DEV_MEM_AFFINITY_0 DCGM_FI_DEV_MEMORY_AFFINITY_0 // 86 #define DCGM_FI_DEV_MEM_AFFINITY_1 DCGM_FI_DEV_MEMORY_AFFINITY_1 // 87 #define DCGM_FI_DEV_MEM_AFFINITY_2 DCGM_FI_DEV_MEMORY_AFFINITY_2 // 88 #define DCGM_FI_DEV_MEM_AFFINITY_3 DCGM_FI_DEV_MEMORY_AFFINITY_3 // 89 #define DCGM_FI_SYNC_BOOST DCGM_FI_SYSTEM_GPU_SYNC_BOOST // 91 #define DCGM_FI_DEV_AUTOBOOST DCGM_FI_DEV_CLOCKS_AUTOBOOST_MODE // 120 #define DCGM_FI_DEV_SUPPORTED_CLOCKS DCGM_FI_DEV_CLOCKS_SUPPORTED // 130 #define DCGM_FI_DEV_MEMORY_TEMP DCGM_FI_DEV_MEMORY_TEMP_CELSIUS // 140 #define DCGM_FI_DEV_GPU_TEMP DCGM_FI_DEV_GPU_TEMP_CELSIUS // 150 #define DCGM_FI_DEV_MEM_MAX_OP_TEMP DCGM_FI_DEV_MEMORY_MAX_OP_TEMP_CELSIUS // 151 #define DCGM_FI_DEV_GPU_MAX_OP_TEMP DCGM_FI_DEV_GPU_MAX_OP_TEMP_CELSIUS // 152 #define DCGM_FI_DEV_GPU_TEMP_LIMIT DCGM_FI_DEV_GPU_TEMP_MARGIN_CELSIUS // 153 #define DCGM_FI_DEV_POWER_USAGE DCGM_FI_DEV_BOARD_POWER_WATTS // 155 #define DCGM_FI_DEV_POWER_USAGE_INSTANT DCGM_FI_DEV_BOARD_POWER_RAW_WATTS // 157 #define DCGM_FI_DEV_SLOWDOWN_TEMP DCGM_FI_DEV_GPU_TEMP_SLOWDOWN_CELSIUS // 158 #define DCGM_FI_DEV_SHUTDOWN_TEMP DCGM_FI_DEV_GPU_TEMP_SHUTDOWN_CELSIUS // 159 #define DCGM_FI_DEV_POWER_MGMT_LIMIT DCGM_FI_DEV_BOARD_POWER_LIMIT_REQUESTED_WATTS // 160 #define DCGM_FI_DEV_POWER_MGMT_LIMIT_MIN DCGM_FI_DEV_BOARD_POWER_LIMIT_MIN_WATTS // 161 #define DCGM_FI_DEV_POWER_MGMT_LIMIT_MAX DCGM_FI_DEV_BOARD_POWER_LIMIT_MAX_WATTS // 162 #define DCGM_FI_DEV_POWER_MGMT_LIMIT_DEF DCGM_FI_DEV_BOARD_POWER_LIMIT_DEFAULT_WATTS // 163 #define DCGM_FI_DEV_ENFORCED_POWER_LIMIT DCGM_FI_DEV_BOARD_POWER_LIMIT_ENFORCED_WATTS // 164 #define DCGM_FI_DEV_REQUESTED_POWER_PROFILE_MASK DCGM_FI_DEV_BOARD_POWER_PROFILE_REQUESTED_MASK // 165 #define DCGM_FI_DEV_ENFORCED_POWER_PROFILE_MASK DCGM_FI_DEV_BOARD_POWER_PROFILE_ENFORCED_MASK // 166 #define DCGM_FI_DEV_VALID_POWER_PROFILE_MASK DCGM_FI_DEV_BOARD_POWER_PROFILE_SUPPORTED_MASK // 167 #define DCGM_FI_DEV_FABRIC_MANAGER_ERROR_CODE DCGM_FI_DEV_FABRIC_MANAGER_ERROR // 171 #define DCGM_FI_DEV_PSTATE DCGM_FI_DEV_GPU_PSTATE // 190 #define DCGM_FI_DEV_PCIE_REPLAY_COUNTER DCGM_FI_DEV_PCIE_REPLAY_TOTAL // 202 #define DCGM_FI_DEV_GPU_UTIL DCGM_FI_DEV_GPU_UTIL_RATIO // 203 #define DCGM_FI_DEV_ACCOUNTING_DATA DCGM_FI_DEV_PROCESS_ACCOUNTING_STATS // 205 #define DCGM_FI_DEV_XID_ERRORS DCGM_FI_DEV_XID_ERROR // 230 #define DCGM_FI_DEV_FB_USED_PERCENT DCGM_FI_DEV_FB_USED_RATIO // 254 #define DCGM_FI_DEV_C2C_LINK_COUNT DCGM_FI_DEV_C2C_LINK_QUANTITY // 285 #define DCGM_FI_DEV_ECC_CURRENT DCGM_FI_DEV_ECC_MODE // 300 #define DCGM_FI_DEV_THRESHOLD_SRM DCGM_FI_DEV_SRAM_EXCEEDED // 346 #define DCGM_FI_DEV_BANKS_REMAP_ROWS_AVAIL_MAX DCGM_FI_DEV_BANK_REMAP_AVAIL_MAX // 385 #define DCGM_FI_DEV_BANKS_REMAP_ROWS_AVAIL_HIGH DCGM_FI_DEV_BANK_REMAP_AVAIL_HIGH // 386 #define DCGM_FI_DEV_BANKS_REMAP_ROWS_AVAIL_PARTIAL DCGM_FI_DEV_BANK_REMAP_AVAIL_PARTIAL // 387 #define DCGM_FI_DEV_BANKS_REMAP_ROWS_AVAIL_LOW DCGM_FI_DEV_BANK_REMAP_AVAIL_LOW // 388 #define DCGM_FI_DEV_BANKS_REMAP_ROWS_AVAIL_NONE DCGM_FI_DEV_BANK_REMAP_AVAIL_NONE // 389 #define DCGM_FI_DEV_RETIRED_SBE DCGM_FI_DEV_PAGE_RETIRED_SBE_TOTAL // 390 #define DCGM_FI_DEV_RETIRED_DBE DCGM_FI_DEV_PAGE_RETIRED_DBE_TOTAL // 391 #define DCGM_FI_DEV_RETIRED_PENDING DCGM_FI_DEV_PAGE_RETIRED_PENDING // 392 #define DCGM_FI_DEV_UNCORRECTABLE_REMAPPED_ROWS DCGM_FI_DEV_ROW_REMAP_UNCORRECTABLE_TOTAL // 393 #define DCGM_FI_DEV_CORRECTABLE_REMAPPED_ROWS DCGM_FI_DEV_ROW_REMAP_CORRECTABLE_TOTAL // 394 #define DCGM_FI_DEV_ROW_REMAP_FAILURE DCGM_FI_DEV_ROW_REMAP_FAILED // 395 // NVLink indexed fields grouped together by error type #define DCGM_FI_DEV_NVLINK_CRC_FLIT_ERROR_COUNT_L0 DCGM_FI_DEV_NVLINK_CRC_FLIT_ERROR_L0_TOTAL // 400 #define DCGM_FI_DEV_NVLINK_CRC_FLIT_ERROR_COUNT_L1 DCGM_FI_DEV_NVLINK_CRC_FLIT_ERROR_L1_TOTAL // 401 #define DCGM_FI_DEV_NVLINK_CRC_FLIT_ERROR_COUNT_L2 DCGM_FI_DEV_NVLINK_CRC_FLIT_ERROR_L2_TOTAL // 402 #define DCGM_FI_DEV_NVLINK_CRC_FLIT_ERROR_COUNT_L3 DCGM_FI_DEV_NVLINK_CRC_FLIT_ERROR_L3_TOTAL // 403 #define DCGM_FI_DEV_NVLINK_CRC_FLIT_ERROR_COUNT_L4 DCGM_FI_DEV_NVLINK_CRC_FLIT_ERROR_L4_TOTAL // 404 #define DCGM_FI_DEV_NVLINK_CRC_FLIT_ERROR_COUNT_L5 DCGM_FI_DEV_NVLINK_CRC_FLIT_ERROR_L5_TOTAL // 405 #define DCGM_FI_DEV_NVLINK_CRC_FLIT_ERROR_COUNT_L6 DCGM_FI_DEV_NVLINK_CRC_FLIT_ERROR_L6_TOTAL // 451 #define DCGM_FI_DEV_NVLINK_CRC_FLIT_ERROR_COUNT_L7 DCGM_FI_DEV_NVLINK_CRC_FLIT_ERROR_L7_TOTAL // 452 #define DCGM_FI_DEV_NVLINK_CRC_FLIT_ERROR_COUNT_L8 DCGM_FI_DEV_NVLINK_CRC_FLIT_ERROR_L8_TOTAL // 453 #define DCGM_FI_DEV_NVLINK_CRC_FLIT_ERROR_COUNT_L9 DCGM_FI_DEV_NVLINK_CRC_FLIT_ERROR_L9_TOTAL // 454 #define DCGM_FI_DEV_NVLINK_CRC_FLIT_ERROR_COUNT_L10 DCGM_FI_DEV_NVLINK_CRC_FLIT_ERROR_L10_TOTAL // 455 #define DCGM_FI_DEV_NVLINK_CRC_FLIT_ERROR_COUNT_L11 DCGM_FI_DEV_NVLINK_CRC_FLIT_ERROR_L11_TOTAL // 456 #define DCGM_FI_DEV_NVLINK_CRC_FLIT_ERROR_COUNT_L12 DCGM_FI_DEV_NVLINK_CRC_FLIT_ERROR_L12_TOTAL // 406 #define DCGM_FI_DEV_NVLINK_CRC_FLIT_ERROR_COUNT_L13 DCGM_FI_DEV_NVLINK_CRC_FLIT_ERROR_L13_TOTAL // 407 #define DCGM_FI_DEV_NVLINK_CRC_FLIT_ERROR_COUNT_L14 DCGM_FI_DEV_NVLINK_CRC_FLIT_ERROR_L14_TOTAL // 408 #define DCGM_FI_DEV_NVLINK_CRC_FLIT_ERROR_COUNT_L15 DCGM_FI_DEV_NVLINK_CRC_FLIT_ERROR_L15_TOTAL // 481 #define DCGM_FI_DEV_NVLINK_CRC_FLIT_ERROR_COUNT_L16 DCGM_FI_DEV_NVLINK_CRC_FLIT_ERROR_L16_TOTAL // 482 #define DCGM_FI_DEV_NVLINK_CRC_FLIT_ERROR_COUNT_L17 DCGM_FI_DEV_NVLINK_CRC_FLIT_ERROR_L17_TOTAL // 483 #define DCGM_FI_DEV_NVLINK_CRC_DATA_ERROR_COUNT_L0 DCGM_FI_DEV_NVLINK_CRC_DATA_ERROR_L0_TOTAL // 410 #define DCGM_FI_DEV_NVLINK_CRC_DATA_ERROR_COUNT_L1 DCGM_FI_DEV_NVLINK_CRC_DATA_ERROR_L1_TOTAL // 411 #define DCGM_FI_DEV_NVLINK_CRC_DATA_ERROR_COUNT_L2 DCGM_FI_DEV_NVLINK_CRC_DATA_ERROR_L2_TOTAL // 412 #define DCGM_FI_DEV_NVLINK_CRC_DATA_ERROR_COUNT_L3 DCGM_FI_DEV_NVLINK_CRC_DATA_ERROR_L3_TOTAL // 413 #define DCGM_FI_DEV_NVLINK_CRC_DATA_ERROR_COUNT_L4 DCGM_FI_DEV_NVLINK_CRC_DATA_ERROR_L4_TOTAL // 414 #define DCGM_FI_DEV_NVLINK_CRC_DATA_ERROR_COUNT_L5 DCGM_FI_DEV_NVLINK_CRC_DATA_ERROR_L5_TOTAL // 415 #define DCGM_FI_DEV_NVLINK_CRC_DATA_ERROR_COUNT_L6 DCGM_FI_DEV_NVLINK_CRC_DATA_ERROR_L6_TOTAL // 457 #define DCGM_FI_DEV_NVLINK_CRC_DATA_ERROR_COUNT_L7 DCGM_FI_DEV_NVLINK_CRC_DATA_ERROR_L7_TOTAL // 458 #define DCGM_FI_DEV_NVLINK_CRC_DATA_ERROR_COUNT_L8 DCGM_FI_DEV_NVLINK_CRC_DATA_ERROR_L8_TOTAL // 459 #define DCGM_FI_DEV_NVLINK_CRC_DATA_ERROR_COUNT_L9 DCGM_FI_DEV_NVLINK_CRC_DATA_ERROR_L9_TOTAL // 460 #define DCGM_FI_DEV_NVLINK_CRC_DATA_ERROR_COUNT_L10 DCGM_FI_DEV_NVLINK_CRC_DATA_ERROR_L10_TOTAL // 461 #define DCGM_FI_DEV_NVLINK_CRC_DATA_ERROR_COUNT_L11 DCGM_FI_DEV_NVLINK_CRC_DATA_ERROR_L11_TOTAL // 462 #define DCGM_FI_DEV_NVLINK_CRC_DATA_ERROR_COUNT_L12 DCGM_FI_DEV_NVLINK_CRC_DATA_ERROR_L12_TOTAL // 416 #define DCGM_FI_DEV_NVLINK_CRC_DATA_ERROR_COUNT_L13 DCGM_FI_DEV_NVLINK_CRC_DATA_ERROR_L13_TOTAL // 417 #define DCGM_FI_DEV_NVLINK_CRC_DATA_ERROR_COUNT_L14 DCGM_FI_DEV_NVLINK_CRC_DATA_ERROR_L14_TOTAL // 418 #define DCGM_FI_DEV_NVLINK_CRC_DATA_ERROR_COUNT_L15 DCGM_FI_DEV_NVLINK_CRC_DATA_ERROR_L15_TOTAL // 484 #define DCGM_FI_DEV_NVLINK_CRC_DATA_ERROR_COUNT_L16 DCGM_FI_DEV_NVLINK_CRC_DATA_ERROR_L16_TOTAL // 485 #define DCGM_FI_DEV_NVLINK_CRC_DATA_ERROR_COUNT_L17 DCGM_FI_DEV_NVLINK_CRC_DATA_ERROR_L17_TOTAL // 486 #define DCGM_FI_DEV_NVLINK_REPLAY_ERROR_COUNT_L0 DCGM_FI_DEV_NVLINK_REPLAY_ERROR_L0_TOTAL // 420 #define DCGM_FI_DEV_NVLINK_REPLAY_ERROR_COUNT_L1 DCGM_FI_DEV_NVLINK_REPLAY_ERROR_L1_TOTAL // 421 #define DCGM_FI_DEV_NVLINK_REPLAY_ERROR_COUNT_L2 DCGM_FI_DEV_NVLINK_REPLAY_ERROR_L2_TOTAL // 422 #define DCGM_FI_DEV_NVLINK_REPLAY_ERROR_COUNT_L3 DCGM_FI_DEV_NVLINK_REPLAY_ERROR_L3_TOTAL // 423 #define DCGM_FI_DEV_NVLINK_REPLAY_ERROR_COUNT_L4 DCGM_FI_DEV_NVLINK_REPLAY_ERROR_L4_TOTAL // 424 #define DCGM_FI_DEV_NVLINK_REPLAY_ERROR_COUNT_L5 DCGM_FI_DEV_NVLINK_REPLAY_ERROR_L5_TOTAL // 425 #define DCGM_FI_DEV_NVLINK_REPLAY_ERROR_COUNT_L6 DCGM_FI_DEV_NVLINK_REPLAY_ERROR_L6_TOTAL // 463 #define DCGM_FI_DEV_NVLINK_REPLAY_ERROR_COUNT_L7 DCGM_FI_DEV_NVLINK_REPLAY_ERROR_L7_TOTAL // 464 #define DCGM_FI_DEV_NVLINK_REPLAY_ERROR_COUNT_L8 DCGM_FI_DEV_NVLINK_REPLAY_ERROR_L8_TOTAL // 465 #define DCGM_FI_DEV_NVLINK_REPLAY_ERROR_COUNT_L9 DCGM_FI_DEV_NVLINK_REPLAY_ERROR_L9_TOTAL // 466 #define DCGM_FI_DEV_NVLINK_REPLAY_ERROR_COUNT_L10 DCGM_FI_DEV_NVLINK_REPLAY_ERROR_L10_TOTAL // 467 #define DCGM_FI_DEV_NVLINK_REPLAY_ERROR_COUNT_L11 DCGM_FI_DEV_NVLINK_REPLAY_ERROR_L11_TOTAL // 468 #define DCGM_FI_DEV_NVLINK_REPLAY_ERROR_COUNT_L12 DCGM_FI_DEV_NVLINK_REPLAY_ERROR_L12_TOTAL // 426 #define DCGM_FI_DEV_NVLINK_REPLAY_ERROR_COUNT_L13 DCGM_FI_DEV_NVLINK_REPLAY_ERROR_L13_TOTAL // 427 #define DCGM_FI_DEV_NVLINK_REPLAY_ERROR_COUNT_L14 DCGM_FI_DEV_NVLINK_REPLAY_ERROR_L14_TOTAL // 428 #define DCGM_FI_DEV_NVLINK_REPLAY_ERROR_COUNT_L15 DCGM_FI_DEV_NVLINK_REPLAY_ERROR_L15_TOTAL // 487 #define DCGM_FI_DEV_NVLINK_REPLAY_ERROR_COUNT_L16 DCGM_FI_DEV_NVLINK_REPLAY_ERROR_L16_TOTAL // 488 #define DCGM_FI_DEV_NVLINK_REPLAY_ERROR_COUNT_L17 DCGM_FI_DEV_NVLINK_REPLAY_ERROR_L17_TOTAL // 489 #define DCGM_FI_DEV_NVLINK_RECOVERY_ERROR_COUNT_L0 DCGM_FI_DEV_NVLINK_RECOVERY_ERROR_L0_TOTAL // 430 #define DCGM_FI_DEV_NVLINK_RECOVERY_ERROR_COUNT_L1 DCGM_FI_DEV_NVLINK_RECOVERY_ERROR_L1_TOTAL // 431 #define DCGM_FI_DEV_NVLINK_RECOVERY_ERROR_COUNT_L2 DCGM_FI_DEV_NVLINK_RECOVERY_ERROR_L2_TOTAL // 432 #define DCGM_FI_DEV_NVLINK_RECOVERY_ERROR_COUNT_L3 DCGM_FI_DEV_NVLINK_RECOVERY_ERROR_L3_TOTAL // 433 #define DCGM_FI_DEV_NVLINK_RECOVERY_ERROR_COUNT_L4 DCGM_FI_DEV_NVLINK_RECOVERY_ERROR_L4_TOTAL // 434 #define DCGM_FI_DEV_NVLINK_RECOVERY_ERROR_COUNT_L5 DCGM_FI_DEV_NVLINK_RECOVERY_ERROR_L5_TOTAL // 435 #define DCGM_FI_DEV_NVLINK_RECOVERY_ERROR_COUNT_L6 DCGM_FI_DEV_NVLINK_RECOVERY_ERROR_L6_TOTAL // 469 #define DCGM_FI_DEV_NVLINK_RECOVERY_ERROR_COUNT_L7 DCGM_FI_DEV_NVLINK_RECOVERY_ERROR_L7_TOTAL // 470 #define DCGM_FI_DEV_NVLINK_RECOVERY_ERROR_COUNT_L8 DCGM_FI_DEV_NVLINK_RECOVERY_ERROR_L8_TOTAL // 471 #define DCGM_FI_DEV_NVLINK_RECOVERY_ERROR_COUNT_L9 DCGM_FI_DEV_NVLINK_RECOVERY_ERROR_L9_TOTAL // 472 #define DCGM_FI_DEV_NVLINK_RECOVERY_ERROR_COUNT_L10 DCGM_FI_DEV_NVLINK_RECOVERY_ERROR_L10_TOTAL // 473 #define DCGM_FI_DEV_NVLINK_RECOVERY_ERROR_COUNT_L11 DCGM_FI_DEV_NVLINK_RECOVERY_ERROR_L11_TOTAL // 474 #define DCGM_FI_DEV_NVLINK_RECOVERY_ERROR_COUNT_L12 DCGM_FI_DEV_NVLINK_RECOVERY_ERROR_L12_TOTAL // 436 #define DCGM_FI_DEV_NVLINK_RECOVERY_ERROR_COUNT_L13 DCGM_FI_DEV_NVLINK_RECOVERY_ERROR_L13_TOTAL // 437 #define DCGM_FI_DEV_NVLINK_RECOVERY_ERROR_COUNT_L14 DCGM_FI_DEV_NVLINK_RECOVERY_ERROR_L14_TOTAL // 438 #define DCGM_FI_DEV_NVLINK_RECOVERY_ERROR_COUNT_L15 DCGM_FI_DEV_NVLINK_RECOVERY_ERROR_L15_TOTAL // 491 #define DCGM_FI_DEV_NVLINK_RECOVERY_ERROR_COUNT_L16 DCGM_FI_DEV_NVLINK_RECOVERY_ERROR_L16_TOTAL // 492 #define DCGM_FI_DEV_NVLINK_RECOVERY_ERROR_COUNT_L17 DCGM_FI_DEV_NVLINK_RECOVERY_ERROR_L17_TOTAL // 493 #define DCGM_FI_DEV_NVLINK_CRC_FLIT_ERROR_COUNT_TOTAL DCGM_FI_DEV_NVLINK_CRC_FLIT_ERROR_TOTAL // 409 #define DCGM_FI_DEV_NVLINK_CRC_DATA_ERROR_COUNT_TOTAL DCGM_FI_DEV_NVLINK_CRC_DATA_ERROR_TOTAL // 419 #define DCGM_FI_DEV_NVLINK_REPLAY_ERROR_COUNT_TOTAL DCGM_FI_DEV_NVLINK_REPLAY_ERROR_TOTAL // 429 #define DCGM_FI_DEV_NVLINK_RECOVERY_ERROR_COUNT_TOTAL DCGM_FI_DEV_NVLINK_RECOVERY_ERROR_TOTAL // 439 #define DCGM_FI_DEV_GPU_NVLINK_ERRORS DCGM_FI_DEV_NVLINK_ERROR // 450 #define DCGM_FI_DEV_NVLINK_ERROR_DL_CRC DCGM_FI_DEV_NVLINK_CRC_ERROR_TOTAL // 497 #define DCGM_FI_DEV_NVLINK_ERROR_DL_RECOVERY DCGM_FI_DEV_NVLINK_RECOVERY_TOTAL // 498 #define DCGM_FI_DEV_NVLINK_ERROR_DL_REPLAY DCGM_FI_DEV_NVLINK_REPLAY_TOTAL // 499 #define DCGM_FI_DEV_VIRTUAL_MODE DCGM_FI_DEV_GPU_VIRTUAL_MODE // 500 #define DCGM_FI_DEV_SUPPORTED_TYPE_INFO DCGM_FI_DEV_VGPU_SUPPORTED_INFO // 501 #define DCGM_FI_DEV_CREATABLE_VGPU_TYPE_IDS DCGM_FI_DEV_VGPU_CREATABLE_IDS // 502 #define DCGM_FI_DEV_VGPU_INSTANCE_IDS DCGM_FI_DEV_VGPU_INSTANCE_INFO // 503 #define DCGM_FI_DEV_VGPU_UTILIZATIONS DCGM_FI_DEV_VGPU_UTIL_INFO // 504 #define DCGM_FI_DEV_VGPU_PER_PROCESS_UTILIZATION DCGM_FI_DEV_VGPU_PROCESS_UTIL_INFO // 505 #define DCGM_FI_DEV_SUPPORTED_VGPU_TYPE_IDS DCGM_FI_DEV_VGPU_SUPPORTED_IDS // 509 #define DCGM_FI_DEV_VGPU_INSTANCE_LICENSE_STATE DCGM_FI_DEV_VGPU_INSTANCE_LICENSE_STATUS // 532 #define DCGM_FI_DEV_VGPU_VM_GPU_INSTANCE_ID DCGM_FI_DEV_VGPU_GPU_INSTANCE_ID // 534 #define DCGM_FI_DEV_NVLINK_PPCNT_RECOVERY_TOTAL_SUCCESSFUL_EVENTS DCGM_FI_DEV_NVLINK_PPCNT_RECOVERY_SUCCESSFUL_TOTAL // 583 #define DCGM_FI_DEV_NVLINK_PPCNT_PHYSICAL_SUCCESSFUL_RECOVERY_EVENTS DCGM_FI_DEV_NVLINK_PPCNT_PHYSICAL_RECOVERY_SUCCESSFUL_TOTAL // 584 #define DCGM_FI_DEV_NVLINK_PPCNT_PHYSICAL_LINK_DOWN_COUNTER DCGM_FI_DEV_NVLINK_PPCNT_PHYSICAL_LINK_DOWN_TOTAL // 585 #define DCGM_FI_DEV_NVLINK_PPCNT_PLR_RCV_CODES DCGM_FI_DEV_NVLINK_PPCNT_PLR_RX_CODE_TOTAL // 586 #define DCGM_FI_DEV_NVLINK_PPCNT_PLR_RCV_CODE_ERR DCGM_FI_DEV_NVLINK_PPCNT_PLR_RX_CODE_ERROR_TOTAL // 587 #define DCGM_FI_DEV_NVLINK_PPCNT_PLR_RCV_UNCORRECTABLE_CODE DCGM_FI_DEV_NVLINK_PPCNT_PLR_RX_CODE_UNCORRECTABLE_TOTAL // 588 #define DCGM_FI_DEV_NVLINK_PPCNT_PLR_XMIT_CODES DCGM_FI_DEV_NVLINK_PPCNT_PLR_TX_CODE_TOTAL // 589 #define DCGM_FI_DEV_NVLINK_PPCNT_PLR_XMIT_RETRY_CODES DCGM_FI_DEV_NVLINK_PPCNT_PLR_TX_RETRY_CODE_TOTAL // 590 #define DCGM_FI_DEV_NVLINK_PPCNT_PLR_XMIT_RETRY_EVENTS DCGM_FI_DEV_NVLINK_PPCNT_PLR_TX_RETRY_EVENT_TOTAL // 591 #define DCGM_FI_DEV_NVLINK_PPCNT_PLR_SYNC_EVENTS DCGM_FI_DEV_NVLINK_PPCNT_PLR_SYNC_EVENT_TOTAL // 592 #define DCGM_FI_DEV_NVSWITCH_POWER_VDD DCGM_FI_DEV_NVSWITCH_POWER_VDD_WATTS // 705 #define DCGM_FI_DEV_NVSWITCH_POWER_DVDD DCGM_FI_DEV_NVSWITCH_POWER_DVDD_WATTS // 706 #define DCGM_FI_DEV_NVSWITCH_POWER_HVDD DCGM_FI_DEV_NVSWITCH_POWER_HVDD_WATTS // 707 #define DCGM_FI_DEV_NVSWITCH_LINK_REPLAY_ERRORS DCGM_FI_DEV_NVSWITCH_LINK_REPLAY_ERROR_TOTAL // 784 #define DCGM_FI_DEV_NVSWITCH_LINK_RECOVERY_ERRORS DCGM_FI_DEV_NVSWITCH_LINK_RECOVERY_ERROR_TOTAL // 785 #define DCGM_FI_DEV_NVSWITCH_LINK_FLIT_ERRORS DCGM_FI_DEV_NVSWITCH_LINK_FLIT_ERROR_TOTAL // 786 #define DCGM_FI_DEV_NVSWITCH_LINK_CRC_ERRORS DCGM_FI_DEV_NVSWITCH_LINK_CRC_ERROR_TOTAL // 787 #define DCGM_FI_DEV_NVSWITCH_LINK_ECC_ERRORS DCGM_FI_DEV_NVSWITCH_LINK_ECC_ERROR_TOTAL // 788 #define DCGM_FI_DEV_NVSWITCH_LINK_LATENCY_COUNT_VC0 DCGM_FI_DEV_NVSWITCH_LINK_LATENCY_SAMPLE_VC0_TOTAL // 805 #define DCGM_FI_DEV_NVSWITCH_LINK_LATENCY_COUNT_VC1 DCGM_FI_DEV_NVSWITCH_LINK_LATENCY_SAMPLE_VC1_TOTAL // 806 #define DCGM_FI_DEV_NVSWITCH_LINK_LATENCY_COUNT_VC2 DCGM_FI_DEV_NVSWITCH_LINK_LATENCY_SAMPLE_VC2_TOTAL // 807 #define DCGM_FI_DEV_NVSWITCH_LINK_LATENCY_COUNT_VC3 DCGM_FI_DEV_NVSWITCH_LINK_LATENCY_SAMPLE_VC3_TOTAL // 808 #define DCGM_FI_DEV_NVSWITCH_LINK_CRC_ERRORS_LANE0 DCGM_FI_DEV_NVSWITCH_LINK_CRC_ERROR_L0_TOTAL // 809 #define DCGM_FI_DEV_NVSWITCH_LINK_CRC_ERRORS_LANE1 DCGM_FI_DEV_NVSWITCH_LINK_CRC_ERROR_L1_TOTAL // 810 #define DCGM_FI_DEV_NVSWITCH_LINK_CRC_ERRORS_LANE2 DCGM_FI_DEV_NVSWITCH_LINK_CRC_ERROR_L2_TOTAL // 811 #define DCGM_FI_DEV_NVSWITCH_LINK_CRC_ERRORS_LANE3 DCGM_FI_DEV_NVSWITCH_LINK_CRC_ERROR_L3_TOTAL // 812 #define DCGM_FI_DEV_NVSWITCH_LINK_CRC_ERRORS_LANE4 DCGM_FI_DEV_NVSWITCH_LINK_CRC_ERROR_L4_TOTAL // 817 #define DCGM_FI_DEV_NVSWITCH_LINK_CRC_ERRORS_LANE5 DCGM_FI_DEV_NVSWITCH_LINK_CRC_ERROR_L5_TOTAL // 818 #define DCGM_FI_DEV_NVSWITCH_LINK_CRC_ERRORS_LANE6 DCGM_FI_DEV_NVSWITCH_LINK_CRC_ERROR_L6_TOTAL // 819 #define DCGM_FI_DEV_NVSWITCH_LINK_CRC_ERRORS_LANE7 DCGM_FI_DEV_NVSWITCH_LINK_CRC_ERROR_L7_TOTAL // 820 #define DCGM_FI_DEV_NVSWITCH_LINK_ECC_ERRORS_LANE0 DCGM_FI_DEV_NVSWITCH_LINK_ECC_ERROR_L0_TOTAL // 813 #define DCGM_FI_DEV_NVSWITCH_LINK_ECC_ERRORS_LANE1 DCGM_FI_DEV_NVSWITCH_LINK_ECC_ERROR_L1_TOTAL // 814 #define DCGM_FI_DEV_NVSWITCH_LINK_ECC_ERRORS_LANE2 DCGM_FI_DEV_NVSWITCH_LINK_ECC_ERROR_L2_TOTAL // 815 #define DCGM_FI_DEV_NVSWITCH_LINK_ECC_ERRORS_LANE3 DCGM_FI_DEV_NVSWITCH_LINK_ECC_ERROR_L3_TOTAL // 816 #define DCGM_FI_DEV_NVSWITCH_LINK_ECC_ERRORS_LANE4 DCGM_FI_DEV_NVSWITCH_LINK_ECC_ERROR_L4_TOTAL // 821 #define DCGM_FI_DEV_NVSWITCH_LINK_ECC_ERRORS_LANE5 DCGM_FI_DEV_NVSWITCH_LINK_ECC_ERROR_L5_TOTAL // 822 #define DCGM_FI_DEV_NVSWITCH_LINK_ECC_ERRORS_LANE6 DCGM_FI_DEV_NVSWITCH_LINK_ECC_ERROR_L6_TOTAL // 823 #define DCGM_FI_DEV_NVSWITCH_LINK_ECC_ERRORS_LANE7 DCGM_FI_DEV_NVSWITCH_LINK_ECC_ERROR_L7_TOTAL // 824 #define DCGM_FI_DEV_NVSWITCH_TEMPERATURE_CURRENT DCGM_FI_DEV_NVSWITCH_TEMP_CELSIUS // 858 #define DCGM_FI_DEV_NVSWITCH_TEMPERATURE_LIMIT_SLOWDOWN DCGM_FI_DEV_NVSWITCH_TEMP_SLOWDOWN_CELSIUS // 859 #define DCGM_FI_DEV_NVSWITCH_TEMPERATURE_LIMIT_SHUTDOWN DCGM_FI_DEV_NVSWITCH_TEMP_SHUTDOWN_CELSIUS // 860 #define DCGM_FI_DEV_NVSWITCH_PHYS_ID DCGM_FI_DEV_NVSWITCH_PHYSICAL_ID // 863 #define DCGM_FI_DEV_NVSWITCH_FATAL_ERRORS DCGM_FI_DEV_SXID_FATAL_ERROR // 856 #define DCGM_FI_DEV_NVSWITCH_NON_FATAL_ERRORS DCGM_FI_DEV_SXID_NON_FATAL_ERROR // 857 #define DCGM_FI_DEV_NVSWITCH_LINK_DEVICE_LINK_ID DCGM_FI_DEV_NVSWITCH_LINK_REMOTE_LINK_ID // 876 #define DCGM_FI_DEV_NVSWITCH_LINK_DEVICE_LINK_SID DCGM_FI_DEV_NVSWITCH_LINK_REMOTE_LINK_SID // 877 #define DCGM_FI_DEV_NVSWITCH_DEVICE_UUID DCGM_FI_DEV_NVSWITCH_UUID // 878 #define DCGM_FI_PROF_GR_ENGINE_ACTIVE DCGM_FI_PROF_GR_ENGINE_UTIL_RATIO // 1001 #define DCGM_FI_PROF_SM_ACTIVE DCGM_FI_PROF_SM_UTIL_RATIO // 1002 #define DCGM_FI_PROF_SM_OCCUPANCY DCGM_FI_PROF_SM_OCCUPANCY_RATIO // 1003 #define DCGM_FI_PROF_PIPE_TENSOR_ACTIVE DCGM_FI_PROF_TENSOR_UTIL_RATIO // 1004 #define DCGM_FI_PROF_DRAM_ACTIVE DCGM_FI_PROF_DRAM_UTIL_RATIO // 1005 #define DCGM_FI_PROF_PIPE_FP64_ACTIVE DCGM_FI_PROF_FP64_UTIL_RATIO // 1006 #define DCGM_FI_PROF_PIPE_FP32_ACTIVE DCGM_FI_PROF_FP32_UTIL_RATIO // 1007 #define DCGM_FI_PROF_PIPE_FP16_ACTIVE DCGM_FI_PROF_FP16_UTIL_RATIO // 1008 #define DCGM_FI_PROF_PIPE_TENSOR_IMMA_ACTIVE DCGM_FI_PROF_IMMA_UTIL_RATIO // 1013 #define DCGM_FI_PROF_PIPE_TENSOR_HMMA_ACTIVE DCGM_FI_PROF_HMMA_UTIL_RATIO // 1014 #define DCGM_FI_PROF_PIPE_TENSOR_DFMA_ACTIVE DCGM_FI_PROF_DFMA_UTIL_RATIO // 1015 #define DCGM_FI_PROF_PIPE_INT_ACTIVE DCGM_FI_PROF_INT_UTIL_RATIO // 1016 #define DCGM_FI_PROF_NVDEC0_ACTIVE DCGM_FI_PROF_NVDEC_UTIL_0_RATIO // 1017 #define DCGM_FI_PROF_NVDEC1_ACTIVE DCGM_FI_PROF_NVDEC_UTIL_1_RATIO // 1018 #define DCGM_FI_PROF_NVDEC2_ACTIVE DCGM_FI_PROF_NVDEC_UTIL_2_RATIO // 1019 #define DCGM_FI_PROF_NVDEC3_ACTIVE DCGM_FI_PROF_NVDEC_UTIL_3_RATIO // 1020 #define DCGM_FI_PROF_NVDEC4_ACTIVE DCGM_FI_PROF_NVDEC_UTIL_4_RATIO // 1021 #define DCGM_FI_PROF_NVDEC5_ACTIVE DCGM_FI_PROF_NVDEC_UTIL_5_RATIO // 1022 #define DCGM_FI_PROF_NVDEC6_ACTIVE DCGM_FI_PROF_NVDEC_UTIL_6_RATIO // 1023 #define DCGM_FI_PROF_NVDEC7_ACTIVE DCGM_FI_PROF_NVDEC_UTIL_7_RATIO // 1024 #define DCGM_FI_PROF_NVJPG0_ACTIVE DCGM_FI_PROF_NVJPG_UTIL_0_RATIO // 1025 #define DCGM_FI_PROF_NVJPG1_ACTIVE DCGM_FI_PROF_NVJPG_UTIL_1_RATIO // 1026 #define DCGM_FI_PROF_NVJPG2_ACTIVE DCGM_FI_PROF_NVJPG_UTIL_2_RATIO // 1027 #define DCGM_FI_PROF_NVJPG3_ACTIVE DCGM_FI_PROF_NVJPG_UTIL_3_RATIO // 1028 #define DCGM_FI_PROF_NVJPG4_ACTIVE DCGM_FI_PROF_NVJPG_UTIL_4_RATIO // 1029 #define DCGM_FI_PROF_NVJPG5_ACTIVE DCGM_FI_PROF_NVJPG_UTIL_5_RATIO // 1030 #define DCGM_FI_PROF_NVJPG6_ACTIVE DCGM_FI_PROF_NVJPG_UTIL_6_RATIO // 1031 #define DCGM_FI_PROF_NVJPG7_ACTIVE DCGM_FI_PROF_NVJPG_UTIL_7_RATIO // 1032 #define DCGM_FI_PROF_NVOFA0_ACTIVE DCGM_FI_PROF_NVOFA_UTIL_0_RATIO // 1033 #define DCGM_FI_PROF_NVOFA1_ACTIVE DCGM_FI_PROF_NVOFA_UTIL_1_RATIO // 1034 #define DCGM_FI_DEV_CPU_TEMP_CURRENT DCGM_FI_DEV_CPU_TEMP_CELSIUS // 1110 #define DCGM_FI_DEV_CPU_TEMP_WARNING DCGM_FI_DEV_CPU_TEMP_WARNING_CELSIUS // 1111 #define DCGM_FI_DEV_CPU_TEMP_CRITICAL DCGM_FI_DEV_CPU_TEMP_CRITICAL_CELSIUS // 1112 #define DCGM_FI_DEV_CPU_POWER_UTIL_CURRENT DCGM_FI_DEV_CPU_POWER_WATTS // 1130 #define DCGM_FI_DEV_CPU_POWER_LIMIT DCGM_FI_DEV_CPU_POWER_LIMIT_WATTS // 1131 #define DCGM_FI_DEV_NVLINK_COUNT_TX_PACKETS DCGM_FI_DEV_NVLINK_TX_PACKET_TOTAL // 1200 #define DCGM_FI_DEV_NVLINK_COUNT_TX_BYTES DCGM_FI_DEV_NVLINK_TX_BYTES_TOTAL // 1201 #define DCGM_FI_DEV_NVLINK_COUNT_RX_PACKETS DCGM_FI_DEV_NVLINK_RX_PACKET_TOTAL // 1202 #define DCGM_FI_DEV_NVLINK_COUNT_RX_BYTES DCGM_FI_DEV_NVLINK_RX_BYTES_TOTAL // 1203 #define DCGM_FI_DEV_NVLINK_COUNT_RX_MALFORMED_PACKET_ERRORS DCGM_FI_DEV_NVLINK_RX_PACKET_MALFORMED_TOTAL // 1204 #define DCGM_FI_DEV_NVLINK_COUNT_RX_BUFFER_OVERRUN_ERRORS DCGM_FI_DEV_NVLINK_RX_PACKET_DROPPED_TOTAL // 1205 #define DCGM_FI_DEV_NVLINK_COUNT_RX_ERRORS DCGM_FI_DEV_NVLINK_RX_ERROR_TOTAL // 1206 #define DCGM_FI_DEV_NVLINK_COUNT_RX_REMOTE_ERRORS DCGM_FI_DEV_NVLINK_RX_REMOTE_ERROR_TOTAL // 1207 #define DCGM_FI_DEV_NVLINK_COUNT_RX_GENERAL_ERRORS DCGM_FI_DEV_NVLINK_RX_GENERAL_ERROR_TOTAL // 1208 #define DCGM_FI_DEV_NVLINK_COUNT_LOCAL_LINK_INTEGRITY_ERRORS DCGM_FI_DEV_NVLINK_INTEGRITY_ERROR_TOTAL // 1209 #define DCGM_FI_DEV_NVLINK_COUNT_LINK_RECOVERY_SUCCESSFUL_EVENTS DCGM_FI_DEV_NVLINK_RECOVERY_SUCCESSFUL_TOTAL // 1211 #define DCGM_FI_DEV_NVLINK_COUNT_LINK_RECOVERY_FAILED_EVENTS DCGM_FI_DEV_NVLINK_RECOVERY_FAILED_TOTAL // 1212 #define DCGM_FI_DEV_NVLINK_COUNT_LINK_RECOVERY_EVENTS DCGM_FI_DEV_NVLINK_RECOVERY_EVENT_TOTAL // 1213 #define DCGM_FI_DEV_NVLINK_COUNT_RX_SYMBOL_ERRORS DCGM_FI_DEV_NVLINK_RX_SYMBOL_ERROR_TOTAL // 1214 #define DCGM_FI_DEV_NVLINK_COUNT_SYMBOL_BER DCGM_FI_DEV_NVLINK_SYMBOL_BER_RAW // 1215 #define DCGM_FI_DEV_NVLINK_COUNT_SYMBOL_BER_FLOAT DCGM_FI_DEV_NVLINK_SYMBOL_BER_RATIO // 1216 #define DCGM_FI_DEV_NVLINK_COUNT_EFFECTIVE_BER DCGM_FI_DEV_NVLINK_EFFECTIVE_BER_RAW // 1217 #define DCGM_FI_DEV_NVLINK_COUNT_EFFECTIVE_BER_FLOAT DCGM_FI_DEV_NVLINK_EFFECTIVE_BER_RATIO // 1218 #define DCGM_FI_DEV_NVLINK_COUNT_EFFECTIVE_ERRORS DCGM_FI_DEV_NVLINK_EFFECTIVE_ERROR_TOTAL // 1219 #define DCGM_FI_DEV_NVLINK_ECC_DATA_ERROR_COUNT_TOTAL DCGM_FI_DEV_NVLINK_ECC_ERROR_TOTAL // 1220 #define DCGM_FI_DEV_CONNECTX_UNCORRECTABLE_ERR_STATUS DCGM_FI_DEV_CONNECTX_UNCORRECTABLE_ERROR_STATUS // 1307 #define DCGM_FI_DEV_CONNECTX_UNCORRECTABLE_ERR_MASK DCGM_FI_DEV_CONNECTX_UNCORRECTABLE_ERROR_MASK // 1308 #define DCGM_FI_DEV_CONNECTX_UNCORRECTABLE_ERR_SEVERITY DCGM_FI_DEV_CONNECTX_UNCORRECTABLE_ERROR_SEVERITY // 1309 #define DCGM_FI_DEV_PCIE_COUNT_CORRECTABLE_ERRORS DCGM_FI_DEV_PCIE_CORRECTABLE_ERROR_TOTAL // 1501 #define DCGM_FI_DEV_MEMORY_UNREPAIRABLE_FLAG DCGM_FI_DEV_MEMORY_UNREPAIRABLE // 1507 #define DCGM_FI_DEV_GET_GPU_RECOVERY_ACTION DCGM_FI_DEV_GPU_RECOVERY_ACTION // 1523 // clang-format on #endif /** @} */ /*****************************************************************************/ /** * Structure for formating the output for dmon. * Used as a member in dcgm_field_meta_p */ typedef struct { char shortName[10]; /*!< Short name corresponding to field. This short name is used to identify columns in dmon output.*/ char unit[4]; /*!< The unit of value. Eg: C(elsius), W(att), MB/s*/ short width; /*!< Maximum width/number of digits that a value for field can have.*/ } dcgm_field_output_format_t, *dcgm_field_output_format_p; /** * Structure to store meta data for the field */ typedef struct { unsigned short fieldId; /*!< Field identifier. DCGM_FI_? #define */ char fieldType; /*!< Field type. DCGM_FT_? #define */ unsigned char size; /*!< field size in bytes (raw value size). 0=variable (like DCGM_FT_STRING) */ char tag[48]; /*!< Tag for this field for serialization like 'device_temperature' */ int scope; /*!< Field scope. DCGM_FS_? #define of this field's association */ int nvmlFieldId; /*!< Optional NVML field this DCGM field maps to. 0 = no mapping. Otherwise, this should be a NVML_FI_? #define from nvml.h */ dcgm_field_entity_group_t entityLevel; /*!< Field entity level. DCGM_FE_? specifying at what level the field is queryable */ dcgm_field_output_format_p valueFormat; /*!< pointer to the structure that holds the formatting the values for fields */ } dcgm_field_meta_t; typedef const dcgm_field_meta_t *dcgm_field_meta_p; /***************************************************************************************************/ /** @addtogroup dcgmFieldIdentifiers * @{ */ /***************************************************************************************************/ /** * Get a pointer to the metadata for a field by its field ID. See DCGM_FI_? for a list of field IDs. * * @param fieldId IN: One of the field IDs (DCGM_FI_?) * * @return * 0 On Failure * >0 Pointer to field metadata structure if found. * */ dcgm_field_meta_p DCGM_PUBLIC_API DcgmFieldGetById(unsigned short fieldId); /** * Get a pointer to the metadata for a field by its field tag. * * @param tag IN: Tag for the field of interest * * @return * 0 On failure or not found * >0 Pointer to field metadata structure if found * */ dcgm_field_meta_p DCGM_PUBLIC_API DcgmFieldGetByTag(const char *tag); /** * Initialize the DcgmFields module. Call this once from inside * your program * * @return * 0 On success * <0 On error * */ int DCGM_PUBLIC_API DcgmFieldsInit(void); /** * Terminates the DcgmFields module. Call this once from inside your program * * @return * 0 On success * <0 On error * */ int DCGM_PUBLIC_API DcgmFieldsTerm(void); /** * Get the string version of a entityGroupId * * @returns * - Pointer to a string like GPU/NvSwitch..etc * - Null on error * */ DCGM_PUBLIC_API const char *DcgmFieldsGetEntityGroupString(dcgm_field_entity_group_t entityGroupId); /** @} */ #ifdef __cplusplus } #endif #endif // DCGMFIELDS_H