Searched refs:powerlog_dict (Results 1 – 1 of 1) sorted by relevance
/external/autotest/client/cros/power/ |
D | power_dashboard.py | 97 powerlog_dict = { 105 return powerlog_dict 120 def _save_json(self, powerlog_dict, resultsdir, filename='power_log.json'): argument 132 json_str = json.dumps(powerlog_dict, indent=4, separators=(',', ': '), 138 def _save_html(self, powerlog_dict, resultsdir, filename='power_log.html'): argument 152 for r, t in powerlog_dict['power']['type'].iteritems(): 168 for i in range(powerlog_dict['power']['sample_count']): 169 row = [str(i * powerlog_dict['power']['sample_duration'])] 171 row.append(str(powerlog_dict['power']['data'][r][i])) 176 unit = powerlog_dict['power']['unit'][rail_type[t][0]] [all …]
|