def pmid_name_lookup(self, cluster, item): """ Lookup the name associated with a performance metric identifier. """ try: name = self._metric_names[cpmda.pmda_pmid(cluster, item)] except KeyError: name = None return name
def pmid(cluster, item): return cpmda.pmda_pmid(cluster, item)
def pmid(cluster, item): return cpmda.pmda_pmid(cluster, item)