Commit 2318663d authored by Valentin Reis's avatar Valentin Reis

[fix] Measure energy, not power. and do it in joules.

parent d51db1e9
......@@ -165,7 +165,7 @@ class BanditController(object):
for a in applications.values():
a.reset_progress()"Controller: applications %r" %applications.values())
total_power = float(machineinfo['energy']['power']['p0'])
total_power = float(machineinfo['energy']['energy']['p0'])/(1000*1000) #in joules"Controller: Reading machineinfo %s." %(str(machineinfo)))"Controller: Reading progress %s and power %s."
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment