Home
last modified time | relevance | path

Searched refs:emeter (Results 1 – 21 of 21) sorted by relevance

/external/devlib/src/readenergy/
Dreadenergy.c219 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/
Denergy.py86 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)
Dexecutor.py683 if self.te.emeter:
684 self.te.emeter.reset()
690 if self.te.emeter:
691 self.te.emeter.report(experiment.out_dir)
Denv.py200 self.emeter = None
662 self.emeter = EnergyMeter.getInstance(self.target, self.conf, force,
/external/lisa/libs/utils/android/
Dworkload.py191 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/
Dtestenv_example.ipynb747 "## 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/
DEnergyMeter_HWMON.ipynb96 " \"emeter\" : {\n",
241 "te.emeter.reset()\n",
246 "nrg_report = te.emeter.report(te.res_dir)"
DEnergyMeter_AEP.ipynb97 " \"emeter\" : {\n",
241 "te.emeter.reset()\n",
246 "nrg_report = te.emeter.report(te.res_dir)"
DEnergyMeter_ACME.ipynb97 " \"emeter\" : {\n",
246 "te.emeter.reset()\n",
251 "nrg_report = te.emeter.report(te.res_dir)"
DEnergyMeter_Monsoon.ipynb117 " \"emeter\" : {\n",
285 "te.emeter.reset()\n",
290 "nrg_report = te.emeter.report(te.res_dir)"
/external/lisa/ipynb/examples/android/workloads/
DAndroid_Workloads.ipynb208 " # 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/
Dtrappy_example.ipynb344 "te.emeter.reset()\n",
350 "nrg_report = te.emeter.report(out_dir=te.res_dir)\n",
/external/lisa/ipynb/tutorial/
D02_TestEnvUsage.ipynb1752 "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",
D03_WlGenUsage.ipynb194 " te.emeter.reset()\n",
200 " nrg_report = te.emeter.report(out_dir=res_dir)\n",
DUseCaseExamples_SchedTuneAnalysis.ipynb2211 " 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",
D00_LisaInANutshell.ipynb873 " te.emeter.reset()\n",
879 " nrg_report = te.emeter.report(out_dir=res_dir)\n",
/external/lisa/ipynb/energy/
DEnergyModel_SystemEnergy.ipynb108 " \"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",
DEnergyModel_ClusterEnergy.ipynb102 " \"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/
DReleaseNotes_v16.10.ipynb462 " \"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/
Drtapp_example.ipynb525 "te.emeter.reset()\n",
531 "nrg_report = te.emeter.report(out_dir=te.res_dir)\n",
/external/lisa/ipynb/sched_dvfs/
Dsmoke_test.ipynb317 " te.emeter.reset()\n",
323 " nrg = te.emeter.report(exp_dir).channels\n",