Home
last modified time | relevance | path

Searched refs:keyvals (Results 1 – 25 of 61) sorted by relevance

123

/external/autotest/client/site_tests/power_BacklightControl/
Dpower_BacklightControl.py54 keyvals = {}
70 keyvals['starting_num_outputs_on'] = starting_num_outputs_on
73 keyvals['max_brightness'] = self._backlight.get_max_level()
74 if keyvals['max_brightness'] <= self._min_num_steps:
78 keyvals['initial_brightness'] = self._backlight.get_level()
81 keyvals['initial_power_w'] = self._get_current_energy_rate()
88 max_threshold=keyvals['max_brightness'])
89 if current_brightness != keyvals['max_brightness']:
95 keyvals['max_brightness_power_w'] = self._get_current_energy_rate()
104 min_threshold=(keyvals['max_brightness'] / 2 - 1))
[all …]
/external/autotest/client/site_tests/power_Idle/
Dpower_Idle.py64 keyvals = self._stats.publish()
68 keyvals['level_backlight_max'] = self._backlight.get_max_level()
69 keyvals['level_backlight_current'] = self._backlight.get_level()
73 keyvals['b_on_ac'] = 1
75 keyvals['b_on_ac'] = 0
76 keyvals['ah_charge_full'] = self.status.battery[0].charge_full
77 keyvals['ah_charge_full_design'] = \
79 keyvals['ah_charge_now'] = self.status.battery[0].charge_now
80 keyvals['a_current_now'] = self.status.battery[0].current_now
81 keyvals['wh_energy'] = self.status.battery[0].energy
[all …]
/external/autotest/client/site_tests/power_BatteryCharge/
Dpower_BatteryCharge.py112 keyvals = {}
113 keyvals['ah_charge_full'] = self.charge_full
114 keyvals['ah_charge_full_design'] = self.charge_full_design
115 keyvals['ah_charge_capacity'] = self.charge_capacity
116 keyvals['ah_initial_charge'] = self.initial_charge
117 keyvals['ah_final_charge'] = self.status.battery[0].charge_now
118 keyvals['s_time_taken'] = self.max_run_time - self.remaining_time
119 keyvals['percent_initial_charge'] = self.initial_charge * 100 / \
120 keyvals['ah_charge_capacity']
121 keyvals['percent_final_charge'] = keyvals['ah_final_charge'] * 100 / \
[all …]
/external/autotest/client/site_tests/power_LoadTest/
Dpower_LoadTest.py309 keyvals = self._plog.calc()
310 keyvals.update(self._tlog.calc())
311 keyvals.update(self._statomatic.publish())
321 keyvals['a_current_now'] = self._power_status.battery[0].current_now
322 keyvals['ah_charge_full'] = self._power_status.battery[0].charge_full
323 keyvals['ah_charge_full_design'] = \
325 keyvals['ah_charge_start'] = self._ah_charge_start
326 keyvals['ah_charge_now'] = self._power_status.battery[0].charge_now
327 keyvals['ah_charge_used'] = keyvals['ah_charge_start'] - \
328 keyvals['ah_charge_now']
[all …]
/external/autotest/client/site_tests/video_PlaybackPerf/
Dvideo_PlaybackPerf.py98 keyvals = self.test_dropped_frames(local_path)
102 keyvals_dropped_frames = {k: v[0] for k, v in keyvals.iteritems()}
104 k: v[1] for k, v in keyvals.iteritems()}
113 keyvals = self.test_cpu_usage(local_path)
114 self.log_result(keyvals, CPU_USAGE_DESCRIPTION + video_description,
117 keyvals = self.test_power(local_path)
118 self.log_result(keyvals, POWER_DESCRIPTION + video_description, 'W')
229 keyvals = {}
241 keyvals[PLAYBACK_WITH_HW_ACCELERATION] = result
244 keyvals[PLAYBACK_WITHOUT_HW_ACCELERATION] = result
[all …]
/external/autotest/client/site_tests/power_Draw/
Dpower_Draw.py45 keyvals = self._tlog.calc()
46 keyvals['wh_energy_full'] = status.battery[0].energy_full
47 keyvals['wh_start_energy'] = start_energy
48 keyvals['wh_end_energy'] = end_energy
49 keyvals['wh_consumed_energy'] = consumed_energy
50 keyvals['w_average_energy_rate'] = energy_rate
51 keyvals['w_end_energy_rate'] = status.battery[0].energy_rate
53 self.write_perf_keyval(keyvals)
/external/autotest/client/site_tests/video_WebRtcPerf/
Dvideo_WebRtcPerf.py141 keyvals = self.test_decode_time(local_path)
146 key:value[0] for (key, value) in keyvals.items()}
150 key:value[1] for (key, value) in keyvals.items()}
155 keyvals = self.test_cpu_usage(local_path)
156 self.log_result(keyvals, CPU_USAGE_DESCRIPTION, 'percent')
159 keyvals = self.test_power(local_path)
160 self.log_result(keyvals, POWER_DESCRIPTION , 'W')
174 keyvals = {}
187 keyvals[WEBRTC_WITH_HW_ACCELERATION] = result
190 keyvals[WEBRTC_WITHOUT_HW_ACCELERATION] = result
[all …]
/external/autotest/client/site_tests/platform_Quipper/
Dplatform_Quipper.py54 keyvals = {}
72 keyvals['command'] = '(' + quipper_command_string + ')'
73 keyvals['result_length'] = '(skipped)'
74 self.write_perf_keyval(keyvals)
85 keyvals['command'] = quipper_command_string;
86 keyvals['result_length'] = len(result)
87 self.write_perf_keyval(keyvals)
/external/autotest/client/site_tests/graphics_GLBench/
Dgraphics_GLBench.py65 keyvals = self.GSC.get_memory_keyvals()
66 for key, val in keyvals.iteritems():
70 self.write_perf_keyval(keyvals)
198 keyvals = {}
233 keyvals[testname] = -3.0
238 keyvals[testname] = 0.0
242 keyvals[testname] = -2.0
248 keyvals[testname] = -1.0
253 keyvals[testname] = testrating
256 keyvals[testname] = testrating
[all …]
/external/autotest/client/site_tests/platform_Perf/
Dplatform_Perf.py20 keyvals = {}
75 keyvals = {}
76 keyvals['start'] = start
77 keyvals['length'] = length
78 keyvals['pgoff'] = pgoff
79 self.write_perf_keyval(keyvals)
/external/autotest/client/site_tests/hardware_GPIOSwitches/
Dhardware_GPIOSwitches.py31 keyvals = {}
32 keyvals['level_recovery'] = self.gpio_read('recovery_button')
33 keyvals['level_developer'] = self.gpio_read('developer_switch')
34 keyvals['level_firmware_writeprotect'] = self.gpio_read('write_protect')
36 self.write_perf_keyval(keyvals)
/external/autotest/client/site_tests/power_Status/
Dpower_Status.py28 keyvals = plog.calc()
29 keyvals.update(tlog.calc())
30 keyvals.update(statomatic.publish())
31 for k in sorted(keyvals.keys()):
32 logging.info("%s: %s" , k, keyvals[k])
/external/autotest/client/site_tests/graphics_VTSwitch/
Dgraphics_VTSwitch.py62 keyvals = {}
71 keyvals['num_iterations'] = num_iterations
80 keyvals['percent_initial_VT1_VT2_difference'] = diff
134 keyvals['percent_VT1_screenshot_max_difference'] = \
136 keyvals['percent_VT2_screenshot_max_difference'] = \
138 keyvals['num_identical_vt1_screenshots'] = num_identical_vt1_screenshots
139 keyvals['num_identical_vt2_screenshots'] = num_identical_vt2_screenshots
141 self.write_perf_keyval(keyvals)
/external/autotest/client/site_tests/graphics_LibDRM/
Dgraphics_LibDRM.py23 keyvals = {}
53 keyvals[test] = 'NOT FOUND'
62 keyvals[test] = 'FAILED'
64 keyvals[test] = 'PASSED'
66 self.write_perf_keyval(keyvals)
/external/autotest/client/site_tests/graphics_WebGLPerformance/
Dgraphics_WebGLPerformance.py40 keyvals = self.GSC.get_memory_keyvals()
41 for key, val in keyvals.iteritems():
47 self.write_perf_keyval(keyvals)
75 keyvals = {}
76 keyvals['time_ms_geom_mean'] = time_ms_geom_mean
77 self.write_perf_keyval(keyvals)
/external/autotest/client/site_tests/graphics_Piglit/
Dgraphics_Piglit.py31 keyvals = self.GSC.get_memory_keyvals()
32 for key, val in keyvals.iteritems():
36 self.write_perf_keyval(keyvals)
102 keyvals = {}
105 keyvals['count_subtests_' + k] = num
110 self.write_perf_keyval(keyvals)
/external/autotest/client/site_tests/graphics_GLMark2/
Dgraphics_GLMark2.py53 keyvals = self.GSC.get_memory_keyvals()
54 for key, val in keyvals.iteritems():
58 self.write_perf_keyval(keyvals)
116 keyvals = {}
127 keyvals[test] = frame_time
144 keyvals['glmark2_score'] = score
145 self.write_perf_keyval(keyvals)
/external/autotest/client/site_tests/power_SuspendStress/
Dpower_SuspendStress.py65 keyvals = {'suspend_iterations': len(self._suspender.successes)}
68 keyvals[key + '_mean'] = numpy.mean(values)
69 keyvals[key + '_stddev'] = numpy.std(values)
70 keyvals[key + '_min'] = numpy.amin(values)
71 keyvals[key + '_max'] = numpy.amax(values)
72 self.write_perf_keyval(keyvals)
/external/autotest/client/site_tests/power_CPUIdle/
Dpower_CPUIdle.py46 keyvals = {}
47 keyvals['ms_active_time_delta'] = active_time_delta_ms
48 keyvals['ms_idle_time_delta'] = idle_time_delta_ms
49 keyvals['percent_active_time'] = percent_active_time
50 keyvals['percent_idle_time'] = percent_idle_time
51 self.write_perf_keyval(keyvals)
/external/autotest/client/site_tests/power_VideoDetector/
Dpower_VideoDetector.py35 keyvals = {}
65 keyvals['initial_brightness'] = initial_brightness
66 keyvals['final_brightness'] = final_brightness
67 self.write_perf_keyval(keyvals)
/external/autotest/contrib/
Dmanage_powerunit_info.py55 def add_powerunit_info_to_host(afe, device, keyvals): argument
68 logging.info('Adding host attribues to %s: %s', device, keyvals)
69 for key, val in keyvals.iteritems():
88 keyvals = dict(zip(
91 add_powerunit_info_to_host(afe, device, keyvals)
/external/autotest/client/site_tests/graphics_KernelMemory/
Dgraphics_KernelMemory.py26 keyvals = self.GSC.get_memory_keyvals()
27 for key, val in keyvals.iteritems():
31 self.write_perf_keyval(keyvals)
/external/autotest/client/site_tests/power_Consumption/
Dpower_Consumption.py500 keyvals = self._plog.calc()
501 keyvals.update(self._tmp_keyvals)
505 if idle_name in keyvals:
506 hours_life = self.energy_full_design / keyvals[idle_name]
507 keyvals['hours_battery_ChromeVer'] = hours_life
521 if set(weights).issubset(set(keyvals)):
522 p = sum(w * keyvals[k] for (k, w) in weights.items())
523 keyvals['w_Weighted_system_pwr'] = p
524 keyvals['hours_battery_Weighted'] = self.energy_full_design / p
526 self.write_perf_keyval(keyvals)
/external/autotest/client/site_tests/graphics_GLES2ConformChrome/
Dgraphics_GLES2ConformChrome.py28 keyvals = self.GSC.get_memory_keyvals()
29 for key, val in keyvals.iteritems():
33 self.write_perf_keyval(keyvals)
/external/autotest/client/site_tests/kernel_Lmbench/
Dkernel_Lmbench.py93 keyvals = {}
112 keyvals['us_' + bm] = useconds
114 self.lmkeyvals.update(keyvals)

123