/external/devlib/src/readenergy/ |
D | readenergy.c | 219 struct emeter struct 226 void emeter_init(struct emeter *this, char *outfile) in emeter_init() argument 264 void emeter_read_measurements(struct emeter *this, struct reading *reading) in emeter_read_measurements() 285 void emeter_take_reading(struct emeter *this) in emeter_take_reading() 315 void emeter_finalize(struct emeter *this) in emeter_finalize() 350 struct emeter emeter; in main() local 352 emeter_init(&emeter, config.output_file); in main() 370 emeter_take_reading(&emeter); in main() 374 emeter_take_reading(&emeter); in main() 377 emeter_finalize(&emeter); in main()
|
/external/lisa/libs/utils/ |
D | energy.py | 86 emeter = conf['emeter'] 92 emeter = DEFAULT_ENERGY_METER[conf['board']] 98 if emeter['instrument'] == 'hwmon': 99 EnergyMeter._meter = HWMon(target, emeter, res_dir) 100 elif emeter['instrument'] == 'aep': 101 EnergyMeter._meter = AEP(target, emeter, res_dir) 102 elif emeter['instrument'] == 'monsoon': 103 EnergyMeter._meter = Monsoon(target, emeter, res_dir) 104 elif emeter['instrument'] == 'acme': 105 EnergyMeter._meter = ACME(target, emeter, res_dir)
|
D | executor.py | 683 if self.te.emeter: 684 self.te.emeter.reset() 690 if self.te.emeter: 691 self.te.emeter.report(experiment.out_dir)
|
D | env.py | 200 self.emeter = None 662 self.emeter = EnergyMeter.getInstance(self.target, self.conf, force,
|
/external/lisa/libs/utils/android/ |
D | workload.py | 191 if 'energy' in self.collect and self._te.emeter: 192 self._te.emeter.reset() 202 if 'energy' in self.collect and self._te.emeter: 203 self.nrg_report = self._te.emeter.report(self.out_dir)
|
/external/lisa/ipynb/examples/utils/ |
D | testenv_example.ipynb | 747 "## Attributes: emeter (energy meter)\n", 793 "te.emeter.reset()\n", 794 "nrg = te.emeter.sample()\n", 795 "nrg = json.dumps(te.emeter.sample(), indent=4)\n", 798 "nrg = te.emeter.sample()\n", 799 "nrg = json.dumps(te.emeter.sample(), indent=4)\n",
|
/external/lisa/ipynb/examples/energy_meter/ |
D | EnergyMeter_HWMON.ipynb | 96 " \"emeter\" : {\n", 241 "te.emeter.reset()\n", 246 "nrg_report = te.emeter.report(te.res_dir)"
|
D | EnergyMeter_AEP.ipynb | 97 " \"emeter\" : {\n", 241 "te.emeter.reset()\n", 246 "nrg_report = te.emeter.report(te.res_dir)"
|
D | EnergyMeter_ACME.ipynb | 97 " \"emeter\" : {\n", 246 "te.emeter.reset()\n", 251 "nrg_report = te.emeter.report(te.res_dir)"
|
D | EnergyMeter_Monsoon.ipynb | 117 " \"emeter\" : {\n", 285 "te.emeter.reset()\n", 290 "nrg_report = te.emeter.report(te.res_dir)"
|
/external/lisa/ipynb/examples/android/workloads/ |
D | Android_Workloads.ipynb | 208 " # Enable energy collection only if an emeter has been configured\n", 210 " if 'emeter' not in my_conf or not te.emeter:\n", 384 …"# energy - Use the my_conf's defined emeter to measure energy consumption across experim… 387 …"# NOTE: energy is automatically enabled in case an \"emeter\" configuration is defined in my_…
|
/external/lisa/ipynb/examples/trappy/ |
D | trappy_example.ipynb | 344 "te.emeter.reset()\n", 350 "nrg_report = te.emeter.report(out_dir=te.res_dir)\n",
|
/external/lisa/ipynb/tutorial/ |
D | 02_TestEnvUsage.ipynb | 1752 "te.emeter.reset()\n", 1758 "nrg = te.emeter.sample()\n", 1759 "nrg = json.dumps(te.emeter.sample(), indent=4)\n", 1766 "nrg = te.emeter.sample()\n", 1767 "nrg = json.dumps(te.emeter.sample(), indent=4)\n",
|
D | 03_WlGenUsage.ipynb | 194 " te.emeter.reset()\n", 200 " nrg_report = te.emeter.report(out_dir=res_dir)\n",
|
D | UseCaseExamples_SchedTuneAnalysis.ipynb | 2211 " if te.emeter:\n", 2213 " te.emeter.reset()\n", 2218 " if te.emeter:\n", 2220 " nrg_report = te.emeter.report(out_dir=res_dir)\n",
|
D | 00_LisaInANutshell.ipynb | 873 " te.emeter.reset()\n", 879 " nrg_report = te.emeter.report(out_dir=res_dir)\n",
|
/external/lisa/ipynb/energy/ |
D | EnergyModel_SystemEnergy.ipynb | 108 " \"emeter\" : {\n", 536 " te.emeter.reset()\n", 539 " nrg = te.emeter.report(te.res_dir).channels\n", 937 " te.emeter.reset()\n", 939 " nrg = te.emeter.report(te.res_dir).channels\n",
|
D | EnergyModel_ClusterEnergy.ipynb | 102 " \"emeter\" : {\n", 436 " te.emeter.reset()\n", 439 " nrg = te.emeter.report(te.res_dir).channels\n", 850 " te.emeter.reset()\n", 852 " nrg = te.emeter.report(te.res_dir).channels\n",
|
/external/lisa/ipynb/releases/ |
D | ReleaseNotes_v16.10.ipynb | 462 " \"emeter\" : {\n", 547 " nrg_report = sample_energy(te.emeter, 1)\n", 695 " \"emeter\" : {\n", 799 " nrg_report = sample_energy(te.emeter, 1)\n",
|
/external/lisa/ipynb/examples/wlgen/ |
D | rtapp_example.ipynb | 525 "te.emeter.reset()\n", 531 "nrg_report = te.emeter.report(out_dir=te.res_dir)\n",
|
/external/lisa/ipynb/sched_dvfs/ |
D | smoke_test.ipynb | 317 " te.emeter.reset()\n", 323 " nrg = te.emeter.report(exp_dir).channels\n",
|