Ignore:
Timestamp:
11/26/13 12:37:28 (11 years ago)
Author:
wojtekp
Message:
 
Location:
DCWoRMS/branches/coolemall/src/test/article2/recs/plugins/scheduling
Files:
9 edited

Legend:

Unmodified
Added
Removed
  • DCWoRMS/branches/coolemall/src/test/article2/recs/plugins/scheduling/exp1/RecsInIdleSP.java

    r826 r1211  
    5959                                        ComputingNode node = chooseProvider(resourceManager, task); 
    6060                                        if (node != null) { 
    61                                                 node.getAirThroughputInterface().setAirThroughputState(StandardAirThroughputStateName.FAN_ON); 
     61                                                node.getAirThroughputInterface().setAirThroughputState(StandardAirThroughputStateName.ON); 
    6262                                                notSelectedNodes.remove(node); 
    6363                                                addToSchedulingPlan(plan, task, chooseResourcesForExecution(node, task)); 
     
    166166                                //node.getAirThroughputInterface().setAirThroughputState(StandardAirThroughputStateName.FAN_OFF); 
    167167                        } else {  
    168                                 node.getAirThroughputInterface().setAirThroughputState(StandardAirThroughputStateName.FAN_ON); 
     168                                node.getAirThroughputInterface().setAirThroughputState(StandardAirThroughputStateName.ON); 
    169169                        } 
    170170                } 
  • DCWoRMS/branches/coolemall/src/test/article2/recs/plugins/scheduling/exp1/RecsInOffSP.java

    r826 r1211  
    6363                                        ComputingNode node = chooseProvider(resourceManager, task); 
    6464                                        if (node != null) { 
    65                                                 node.getAirThroughputInterface().setAirThroughputState(StandardAirThroughputStateName.FAN_ON); 
     65                                                node.getAirThroughputInterface().setAirThroughputState(StandardAirThroughputStateName.ON); 
    6666                                                notSelectedNodes.remove(node); 
    6767                                                addToSchedulingPlan(plan, task, chooseResourcesForExecution(node, task)); 
     
    186186                for(ComputingNode node : nodes){ 
    187187                        if(node.getFreeProcessorsNumber() == node.getProcessorsNumber()){ 
    188                                 node.getAirThroughputInterface().setAirThroughputState(StandardAirThroughputStateName.FAN_OFF); 
     188                                node.getAirThroughputInterface().setAirThroughputState(StandardAirThroughputStateName.OFF); 
    189189                        } else { 
    190                                 node.getAirThroughputInterface().setAirThroughputState(StandardAirThroughputStateName.FAN_ON); 
     190                                node.getAirThroughputInterface().setAirThroughputState(StandardAirThroughputStateName.ON); 
    191191                        } 
    192192                } 
  • DCWoRMS/branches/coolemall/src/test/article2/recs/plugins/scheduling/exp1/RecsInOutSP.java

    r826 r1211  
    6262                                        ComputingNode node = chooseProvider(resourceManager, task); 
    6363                                        if (node != null) { 
    64                                                 node.getAirThroughputInterface().setAirThroughputState(StandardAirThroughputStateName.FAN_ON); 
     64                                                node.getAirThroughputInterface().setAirThroughputState(StandardAirThroughputStateName.ON); 
    6565                                                notSelectedNodes.remove(node); 
    6666                                                addToSchedulingPlan(plan, task, chooseResourcesForExecution(node, task)); 
     
    170170                                //node.getAirThroughputInterface().setAirThroughputState(StandardAirThroughputStateName.FAN_OFF); 
    171171                        } else {  
    172                                 node.getAirThroughputInterface().setAirThroughputState(StandardAirThroughputStateName.FAN_ON); 
     172                                node.getAirThroughputInterface().setAirThroughputState(StandardAirThroughputStateName.ON); 
    173173                        } 
    174174                } 
  • DCWoRMS/branches/coolemall/src/test/article2/recs/plugins/scheduling/exp1/RecsOutIdleSP.java

    r826 r1211  
    5959                                        ComputingNode node = chooseProvider(resourceManager, task); 
    6060                                        if (node != null) { 
    61                                                 node.getAirThroughputInterface().setAirThroughputState(StandardAirThroughputStateName.FAN_ON); 
     61                                                node.getAirThroughputInterface().setAirThroughputState(StandardAirThroughputStateName.ON); 
    6262                                                notSelectedNodes.remove(node); 
    6363                                                addToSchedulingPlan(plan, task, chooseResourcesForExecution(node, task)); 
     
    166166                                //node.getAirThroughputInterface().setAirThroughputState(StandardAirThroughputStateName.FAN_OFF); 
    167167                        } else {  
    168                                 node.getAirThroughputInterface().setAirThroughputState(StandardAirThroughputStateName.FAN_ON); 
     168                                node.getAirThroughputInterface().setAirThroughputState(StandardAirThroughputStateName.ON); 
    169169                        } 
    170170                } 
  • DCWoRMS/branches/coolemall/src/test/article2/recs/plugins/scheduling/exp1/RecsOutOffSP.java

    r826 r1211  
    6464                                        ComputingNode node = chooseProvider(resourceManager, task); 
    6565                                        if (node != null) { 
    66                                                 node.getAirThroughputInterface().setAirThroughputState(StandardAirThroughputStateName.FAN_ON); 
     66                                                node.getAirThroughputInterface().setAirThroughputState(StandardAirThroughputStateName.ON); 
    6767                                                notSelectedNodes.remove(node); 
    6868                                                addToSchedulingPlan(plan, task, chooseResourcesForExecution(node, task)); 
     
    187187                for(ComputingNode node : nodes){ 
    188188                        if(node.getFreeProcessorsNumber() == node.getProcessorsNumber()){ 
    189                                 node.getAirThroughputInterface().setAirThroughputState(StandardAirThroughputStateName.FAN_OFF); 
     189                                node.getAirThroughputInterface().setAirThroughputState(StandardAirThroughputStateName.OFF); 
    190190                        } else {  
    191                                 node.getAirThroughputInterface().setAirThroughputState(StandardAirThroughputStateName.FAN_ON); 
     191                                node.getAirThroughputInterface().setAirThroughputState(StandardAirThroughputStateName.ON); 
    192192                        } 
    193193                } 
  • DCWoRMS/branches/coolemall/src/test/article2/recs/plugins/scheduling/exp2/RecsIn2OutSP.java

    r1178 r1211  
    6161                                        ComputingNode node = chooseProvider(resourceManager, task); 
    6262                                        if (node != null) { 
    63                                                 node.getAirThroughputInterface().setAirThroughputState(StandardAirThroughputStateName.FAN_ON); 
     63                                                node.getAirThroughputInterface().setAirThroughputState(StandardAirThroughputStateName.ON); 
    6464                                                notSelectedNodes.remove(node); 
    6565                                                addToSchedulingPlan(plan, task, chooseResourcesForExecution(node, task)); 
     
    170170                                //node.getAirThroughputInterface().setAirThroughputState(StandardAirThroughputStateName.FAN_OFF); 
    171171                        } else {  
    172                                 node.getAirThroughputInterface().setAirThroughputState(StandardAirThroughputStateName.FAN_ON); 
     172                                node.getAirThroughputInterface().setAirThroughputState(StandardAirThroughputStateName.ON); 
    173173                        } 
    174174                } 
  • DCWoRMS/branches/coolemall/src/test/article2/recs/plugins/scheduling/exp2/RecsLeft2RightSP.java

    r826 r1211  
    6262                                        ComputingNode node = chooseProvider(resourceManager, task); 
    6363                                        if (node != null) { 
    64                                                 node.getAirThroughputInterface().setAirThroughputState(StandardAirThroughputStateName.FAN_ON); 
     64                                                node.getAirThroughputInterface().setAirThroughputState(StandardAirThroughputStateName.ON); 
    6565                                                notSelectedNodes.remove(node); 
    6666                                                addToSchedulingPlan(plan, task, chooseResourcesForExecution(node, task)); 
     
    170170                                // node.getAirThroughputInterface().setAirThroughputState(StandardAirThroughputStateName.FAN_OFF); 
    171171                        } else { 
    172                                 node.getAirThroughputInterface().setAirThroughputState(StandardAirThroughputStateName.FAN_ON); 
     172                                node.getAirThroughputInterface().setAirThroughputState(StandardAirThroughputStateName.ON); 
    173173                        } 
    174174                } 
  • DCWoRMS/branches/coolemall/src/test/article2/recs/plugins/scheduling/exp2/RecsOut2InSP.java

    r1178 r1211  
    6161                                        ComputingNode node = chooseProvider(resourceManager, task); 
    6262                                        if (node != null) { 
    63                                                 node.getAirThroughputInterface().setAirThroughputState(StandardAirThroughputStateName.FAN_ON); 
     63                                                node.getAirThroughputInterface().setAirThroughputState(StandardAirThroughputStateName.ON); 
    6464                                                notSelectedNodes.remove(node); 
    6565                                                addToSchedulingPlan(plan, task, chooseResourcesForExecution(node, task)); 
     
    169169                                //node.getAirThroughputInterface().setAirThroughputState(StandardAirThroughputStateName.FAN_OFF); 
    170170                        } else {  
    171                                 node.getAirThroughputInterface().setAirThroughputState(StandardAirThroughputStateName.FAN_ON); 
     171                                node.getAirThroughputInterface().setAirThroughputState(StandardAirThroughputStateName.ON); 
    172172                        } 
    173173                } 
  • DCWoRMS/branches/coolemall/src/test/article2/recs/plugins/scheduling/exp2/RecsRandomSP.java

    r1200 r1211  
    5858                                        ComputingNode node = chooseRandomProvider(resourceManager, task); 
    5959                                        if (node != null) { 
    60                                                 node.getAirThroughputInterface().setAirThroughputState(StandardAirThroughputStateName.FAN_ON); 
     60                                                node.getAirThroughputInterface().setAirThroughputState(StandardAirThroughputStateName.ON); 
    6161                                                notSelectedNodes.remove(node); 
    6262                                                addToSchedulingPlan(plan, task, chooseResourcesForExecution(node, task)); 
     
    152152                for(ComputingNode node : nodes){ 
    153153                        if(node.getFreeProcessorsNumber() == node.getProcessorsNumber()){ 
    154                                 node.getAirThroughputInterface().setAirThroughputState(StandardAirThroughputStateName.FAN_OFF); 
    155                         } else if(new JobRegistryImpl(node.getName()).getRunningTasks().size() > 1) 
     154                                node.getAirThroughputInterface().setAirThroughputState(StandardAirThroughputStateName.OFF); 
     155                        } else if(new JobRegistryImpl(node.getFullName()).getRunningTasks().size() > 1) 
    156156                                node.getAirThroughputInterface().setAirThroughputState(new UserAirThroughputStateName("FAN_ON_TURBO")); 
    157157                        else  
    158                                 node.getAirThroughputInterface().setAirThroughputState(StandardAirThroughputStateName.FAN_ON); 
     158                                node.getAirThroughputInterface().setAirThroughputState(StandardAirThroughputStateName.ON); 
    159159                } 
    160160        } 
Note: See TracChangeset for help on using the changeset viewer.