code: def GetEccStr(handle):
      strResult = ""
      strResult += "      <volatile>\n"
      strResult += str(GetEccByCounter(handle, NVML_VOLATILE_ECC))
      strResult += "      </volatile>\n"
      strResult += "      <aggregate>\n"
      strResult += str(GetEccByCounter(handle, NVML_AGGREGATE_ECC))
      strResult += "      </aggregate>\n"
      return strResult
  
file_path: py3nvml/py3nvml/nvidia_smi.py
imports: from .py3nvml import *
  import datetime
  import warnings
  import logging
  import os
label_desc: Use image node_id 3 for calling a global function with example usage: GetEccStr(handle) and returns: strResult