Changeset 711
- Timestamp:
- 12/21/12 14:20:38 (12 years ago)
- Location:
- DCWoRMS/trunk/src/test/article/recs/plugins/scheduling
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
DCWoRMS/trunk/src/test/article/recs/plugins/scheduling/RecsExclusivenessEnOptNodePowManSP.java
r708 r711 222 222 try { 223 223 node1EU = getMeasuredTime(createQuery(task, node1)) * getMeasuredPower(createQuery(task, node1)); 224 } catch (FileNotFoundException e) { 225 226 } catch (IOException e) { 227 228 } catch (MissingResourceException e){ 229 230 } 231 try { 224 232 node2EU = getMeasuredTime(createQuery(task, node2)) * getMeasuredPower(createQuery(task, node2)); 225 233 } catch (FileNotFoundException e) { -
DCWoRMS/trunk/src/test/article/recs/plugins/scheduling/RecsExclusivenessEnOptSP.java
r708 r711 216 216 double node2EU = Double.MAX_VALUE; 217 217 try { 218 node1EU = getMeasuredTime(createQuery(task, node1)) * (getMeasuredPower(createQuery(task, node1)) - node1.getPowerInterface().getPowerConsumption(StandardPowerStateName.ON)); 219 //System.out.println(node1.getCategory() + ": " + node1EU + "; "+ getMeasuredTime(createQuery(task, node1)) +";" + node1.getPowerInterface().getPowerConsumption(StandardPowerStateName.ON) + ":" + getMeasuredPower(createQuery(task, node1))); 220 node2EU = getMeasuredTime(createQuery(task, node2)) * (getMeasuredPower(createQuery(task, node2)) - node2.getPowerInterface().getPowerConsumption(StandardPowerStateName.ON)); 221 //System.out.println(node2.getCategory() + ": " + node2EU + "; "+ getMeasuredTime(createQuery(task, node2)) +";" + node2.getPowerInterface().getPowerConsumption(StandardPowerStateName.ON) + ":" + getMeasuredPower(createQuery(task, node2))); 218 node1EU = getMeasuredTime(createQuery(task, node1)) * Math.abs(getMeasuredPower(createQuery(task, node1)) - node1.getPowerInterface().getPowerConsumption(StandardPowerStateName.ON)); 219 //System.out.println("1" + node1.getCategory() +"; " + getApplicationType(task) + ": " + node1EU + "; "+ getMeasuredTime(createQuery(task, node1)) +";" + node1.getPowerInterface().getPowerConsumption(StandardPowerStateName.ON) + ":" + getMeasuredPower(createQuery(task, node1))); 220 } catch (FileNotFoundException e) { 221 222 } catch (IOException e) { 223 224 } catch (MissingResourceException e){ 225 226 } catch (NoSuchFieldException e) { 227 228 } 229 230 try { 231 node2EU = getMeasuredTime(createQuery(task, node2)) * Math.abs(getMeasuredPower(createQuery(task, node2)) - node2.getPowerInterface().getPowerConsumption(StandardPowerStateName.ON)); 232 //System.out.println("2" + node2.getCategory() +"; " + getApplicationType(task) + ": " + node2EU + "; "+ getMeasuredTime(createQuery(task, node2)) +";" + node2.getPowerInterface().getPowerConsumption(StandardPowerStateName.ON) + ":" + getMeasuredPower(createQuery(task, node2))); 222 233 } catch (FileNotFoundException e) { 223 234
Note: See TracChangeset
for help on using the changeset viewer.