Home
last modified time | relevance | path

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

/tools/test/connectivity/acts/framework/acts/test_utils/instrumentation/power/
Dpower_metrics.py78 def amps(amps): argument
80 return Measurement(amps, CURRENT, AMP)
259 return Measurement.amps(0).to_unit(MILLIAMP)
260 return (Measurement.amps(self._sum_currents / self._num_samples)
266 return Measurement.amps(self._max_current or 0).to_unit(MILLIAMP)
271 return Measurement.amps(self._min_current or 0).to_unit(MILLIAMP)
277 return Measurement.amps(0).to_unit(MILLIAMP)
282 return Measurement.amps(stdev).to_unit(MILLIAMP)
/tools/test/connectivity/acts/framework/tests/test_utils/instrumentation/power/
Dpower_metrics_test.py55 current_amps = Measurement.amps(15)
63 current_amps = Measurement.amps(3.4)