Commit f617aee3 authored by Valentin Reis's avatar Valentin Reis

fix package

parent 5afbec57
......@@ -152,7 +152,7 @@ class BanditController(object):
def planify(self, target, machineinfo, applications):
"""Plan the next action for the control loop."""
current_e = float(machineinfo['energy']['cumulative']['p0'])/(1000*1000) # in joules
current_e = float(machineinfo['energy']['cumulative']['package-0'])/(1000*1000) # in joules
if self.last_e==0:
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