Home
last modified time | relevance | path

Searched refs:unit_type (Results 1 – 2 of 2) sorted by relevance

/tools/test/connectivity/acts/framework/acts/controllers/
Dpower_metrics.py76 def __init__(self, value, unit_type, unit, name=None): argument
77 if unit_type not in CONVERSION_TABLES:
80 unit_type, str(CONVERSION_TABLES.keys)))
84 self._unit_type = unit_type
Dbits.py112 unit_type = 'power'
114 unit_type = 'current'
116 unit_type = 'voltage'
123 metrics.append(power_metrics.Metric(avg, unit_type, unit, name=name))