Home
last modified time | relevance | path

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

/tools/test/connectivity/acts/framework/acts/controllers/
Dpower_metrics.py88 def amps(amps, name=None): argument
90 return Metric(amps, CURRENT, AMP, name=name)
215 Metric.amps(p[1], 'percentile_%s' % p[0]).to_unit(MILLIAMP) for p in
250 for timestamp, amps in raw_data:
253 test_metrics[seg_name].update_metrics(amps)
307 return Metric.amps(0).to_unit(MILLIAMP)
308 return (Metric.amps(self._sum_currents / self._num_samples,
315 return Metric.amps(self._max_current or 0, 'max_current').to_unit(
321 return Metric.amps(self._min_current or 0, 'min_current').to_unit(
328 return Metric.amps(0, 'stdev_current').to_unit(MILLIAMP)
[all …]
Dpower_monitor.py68 for timestamp, amps in raw_data:
70 (timestamp + start_time, amps))
/tools/test/connectivity/acts/framework/acts/controllers/bits_lib/
Dbits_client.py334 amps = float(row[1]) / 1e3
335 dest.write('%.7f %.12f\n' % (ts, amps))
/tools/test/connectivity/acts/framework/tests/controllers/
Dpower_metrics_test.py58 current_amps = Metric.amps(15)
66 current_amps = Metric.amps(3.4)