Home
last modified time | relevance | path

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

/tools/test/connectivity/acts/framework/acts/test_utils/instrumentation/power/
Dpower_metrics.py69 def __init__(self, value, unit_type, unit): argument
70 if unit_type not in CONVERSION_TABLES:
71 raise TypeError('%s is not a valid unit type' % unit_type)
73 self._unit_type = unit_type
Dinstrumentation_power_test.py459 unit_type = metric['unit_type']
470 lower_bound = Measurement(lower_value, unit_type, unit)
471 upper_bound = Measurement(upper_value, unit_type, unit)