OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:power_stats
(Results
1 - 3
of
3
) sorted by null
/external/autotest/client/site_tests/power_Standby/
power_Standby.py
30
power_stats
= power_status.get_status()
31
power_stats
.assert_battery_state(percent_initial_charge_min)
32
charge_start =
power_stats
.battery[0].charge_now
33
voltage_start =
power_stats
.battery[0].voltage_now
43
charge_before =
power_stats
.battery[0].charge_now
48
power_stats
.refresh()
49
if
power_stats
.percent_current_charge() < self._percent_min_charge:
65
charge_used = charge_before -
power_stats
.battery[0].charge_now
71
charge_end =
power_stats
.battery[0].charge_now
72
voltage_end =
power_stats
.battery[0].voltage_no
[
all
...]
/external/chromium-trace/catapult/telemetry/telemetry/internal/platform/power_monitor/
sysfs_power_monitor.py
209
def CombineResults(cpu_stats,
power_stats
):
214
power_stats
: Dictionary containing power statistics.
220
return
power_stats
221
if 'component_utilization' not in
power_stats
:
222
power_stats
['component_utilization'] = {}
224
if 'platform_info' not in
power_stats
:
225
power_stats
['platform_info'] = {}
226
power_stats
['platform_info'].update(cpu_stats['platform_info'])
229
power_stats
['component_utilization'][cpu] = cpu_stats[cpu]
230
return
power_stats
[
all
...]
cros_power_monitor.py
48
power_stats
= {}
54
power_stats
= CrosPowerMonitor.ParsePower(self._initial_power,
59
return CrosPowerMonitor.CombineResults(cpu_stats,
power_stats
)
Completed in 206 milliseconds