Changeset 711


Ignore:
Timestamp:
12/21/12 14:20:38 (12 years ago)
Author:
wojtekp
Message:
 
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  
    222222                try { 
    223223                                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 { 
    224232                                node2EU = getMeasuredTime(createQuery(task, node2)) * getMeasuredPower(createQuery(task, node2)); 
    225233                        } catch (FileNotFoundException e) { 
  • DCWoRMS/trunk/src/test/article/recs/plugins/scheduling/RecsExclusivenessEnOptSP.java

    r708 r711  
    216216                double node2EU = Double.MAX_VALUE; 
    217217                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))); 
    222233                } catch (FileNotFoundException e) { 
    223234 
Note: See TracChangeset for help on using the changeset viewer.