parameters: (mdapi_metric_set)
return_statement: return hashlib.md5(registers_str).hexdigest()
docstring: Hashes the HW register configuration of a metric set from VPG's MDAPI XML files.
  
          Args:
              mdapi_metric_set -- is an ElementTree element for a 'MetricSet'
  
          Note: being a simplistic hash of all RegConfigStart element contents
          this will change for minor comment changes in VPG's files. Without
          any promisies of stability within these files then it can't help to
          err on the side of caution here, so we know when to investigate
          changes that might affect our useages.
docstring_summary: Hashes the HW register configuration of a metric set from VPG's MDAPI XML files.
docstring_tokens: Hashes the HW register configuration of a metric set from VPG s MDAPI XML files .
function: def mdapi_hw_config_hash(mdapi_metric_set):
          """Hashes the HW register configuration of a metric set from VPG's MDAPI XML files.
  
          Args:
              mdapi_metric_set -- is an ElementTree element for a 'MetricSet'
  
          Note: being a simplistic hash of all RegConfigStart element contents
          this will change for minor comment changes in VPG's files. Without
          any promisies of stability within these files then it can't help to
          err on the side of caution here, so we know when to investigate
          changes that might affect our useages.
          """
  
          config = et.Element('config')
          for registers in mdapi_metric_set.findall(".//RegConfigStart"):
              config.append(copy.deepcopy(registers))
          registers_str = et.tostring(config)
  
          return hashlib.md5(registers_str).hexdigest()
function_tokens: def mdapi_hw_config_hash ( mdapi_metric_set ) : config = et . Element ( 'config' ) for registers in mdapi_metric_set . findall ( ".//RegConfigStart" ) : config . append ( copy . deepcopy ( registers ) ) registers_str = et . tostring ( config ) return hashlib . md5 ( registers_str ) . hexdigest ( )