Ignore:
Timestamp:
06/26/14 14:24:08 (11 years ago)
Author:
wojtekp
Message:
 
Location:
DCWoRMS/branches/coolemall/src/test/article2/recs/plugins/scheduling/exp2
Files:
4 edited

Legend:

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

    r1247 r1399  
    1818import schedframe.resources.computing.ComputingResource; 
    1919import schedframe.resources.computing.Core; 
    20 import schedframe.resources.computing.profiles.energy.airthroughput.StandardAirThroughputStateName; 
     20import schedframe.resources.computing.profiles.energy.airthroughput.StandardAirflowStateName; 
    2121import schedframe.resources.units.ProcessingElements; 
    2222import schedframe.resources.units.ResourceUnit; 
     
    2828import schedframe.scheduling.plan.SchedulingPlanInterface; 
    2929import schedframe.scheduling.plan.impl.SchedulingPlan; 
    30 import schedframe.scheduling.plugin.grid.ModuleList; 
     30import schedframe.scheduling.plugin.ModuleList; 
    3131import schedframe.scheduling.queue.TaskQueue; 
    3232import schedframe.scheduling.queue.TaskQueueList; 
     
    6161                                        Node node = chooseProvider(resourceManager, task); 
    6262                                        if (node != null) { 
    63                                                 node.getAirThroughputInterface().setAirThroughputState(StandardAirThroughputStateName.ON); 
     63                                                node.getAirflowInterface().setAirflowState(StandardAirflowStateName.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.ON); 
     172                                node.getAirflowInterface().setAirflowState(StandardAirflowStateName.ON); 
    173173                        } 
    174174                } 
  • DCWoRMS/branches/coolemall/src/test/article2/recs/plugins/scheduling/exp2/RecsLeft2RightSP.java

    r1247 r1399  
    1818import schedframe.resources.computing.ComputingResource; 
    1919import schedframe.resources.computing.Core; 
    20 import schedframe.resources.computing.profiles.energy.airthroughput.StandardAirThroughputStateName; 
     20import schedframe.resources.computing.profiles.energy.airthroughput.StandardAirflowStateName; 
    2121import schedframe.resources.units.ProcessingElements; 
    2222import schedframe.resources.units.ResourceUnit; 
     
    2828import schedframe.scheduling.plan.SchedulingPlanInterface; 
    2929import schedframe.scheduling.plan.impl.SchedulingPlan; 
    30 import schedframe.scheduling.plugin.grid.ModuleList; 
     30import schedframe.scheduling.plugin.ModuleList; 
    3131import schedframe.scheduling.queue.TaskQueue; 
    3232import schedframe.scheduling.queue.TaskQueueList; 
     
    6262                                        Node node = chooseProvider(resourceManager, task); 
    6363                                        if (node != null) { 
    64                                                 node.getAirThroughputInterface().setAirThroughputState(StandardAirThroughputStateName.ON); 
     64                                                node.getAirflowInterface().setAirflowState(StandardAirflowStateName.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.ON); 
     172                                node.getAirflowInterface().setAirflowState(StandardAirflowStateName.ON); 
    173173                        } 
    174174                } 
  • DCWoRMS/branches/coolemall/src/test/article2/recs/plugins/scheduling/exp2/RecsOut2InSP.java

    r1247 r1399  
    1818import schedframe.resources.computing.ComputingResource; 
    1919import schedframe.resources.computing.Core; 
    20 import schedframe.resources.computing.profiles.energy.airthroughput.StandardAirThroughputStateName; 
     20import schedframe.resources.computing.profiles.energy.airthroughput.StandardAirflowStateName; 
    2121import schedframe.resources.units.ProcessingElements; 
    2222import schedframe.resources.units.ResourceUnit; 
     
    2828import schedframe.scheduling.plan.SchedulingPlanInterface; 
    2929import schedframe.scheduling.plan.impl.SchedulingPlan; 
    30 import schedframe.scheduling.plugin.grid.ModuleList; 
     30import schedframe.scheduling.plugin.ModuleList; 
    3131import schedframe.scheduling.queue.TaskQueue; 
    3232import schedframe.scheduling.queue.TaskQueueList; 
     
    6161                                        Node node = chooseProvider(resourceManager, task); 
    6262                                        if (node != null) { 
    63                                                 node.getAirThroughputInterface().setAirThroughputState(StandardAirThroughputStateName.ON); 
     63                                                node.getAirflowInterface().setAirflowState(StandardAirflowStateName.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.ON); 
     171                                node.getAirflowInterface().setAirflowState(StandardAirflowStateName.ON); 
    172172                        } 
    173173                } 
  • DCWoRMS/branches/coolemall/src/test/article2/recs/plugins/scheduling/exp2/RecsRandomSP.java

    r1247 r1399  
    1414import schedframe.resources.computing.ComputingResource; 
    1515import schedframe.resources.computing.Core; 
    16 import schedframe.resources.computing.profiles.energy.airthroughput.StandardAirThroughputStateName; 
    17 import schedframe.resources.computing.profiles.energy.airthroughput.UserAirThroughputStateName; 
     16import schedframe.resources.computing.profiles.energy.airthroughput.StandardAirflowStateName; 
     17import schedframe.resources.computing.profiles.energy.airthroughput.CustomAirflowStateName; 
    1818import schedframe.resources.units.ProcessingElements; 
    1919import schedframe.resources.units.ResourceUnit; 
     
    2626import schedframe.scheduling.plan.SchedulingPlanInterface; 
    2727import schedframe.scheduling.plan.impl.SchedulingPlan; 
    28 import schedframe.scheduling.plugin.grid.ModuleList; 
     28import schedframe.scheduling.plugin.ModuleList; 
    2929import schedframe.scheduling.queue.TaskQueue; 
    3030import schedframe.scheduling.queue.TaskQueueList; 
     
    5858                                        Node node = chooseRandomProvider(resourceManager, task); 
    5959                                        if (node != null) { 
    60                                                 node.getAirThroughputInterface().setAirThroughputState(StandardAirThroughputStateName.ON); 
     60                                                node.getAirflowInterface().setAirflowState(StandardAirflowStateName.ON); 
    6161                                                notSelectedNodes.remove(node); 
    6262                                                addToSchedulingPlan(plan, task, chooseResourcesForExecution(node, task)); 
     
    152152                for(Node node : nodes){ 
    153153                        if(node.getFreeProcessorsNumber() == node.getProcessorsNumber()){ 
    154                                 node.getAirThroughputInterface().setAirThroughputState(StandardAirThroughputStateName.OFF); 
     154                                node.getAirflowInterface().setAirflowState(StandardAirflowStateName.OFF); 
    155155                        } else if(new JobRegistryImpl(node.getFullName()).getRunningTasks().size() > 1) 
    156                                 node.getAirThroughputInterface().setAirThroughputState(new UserAirThroughputStateName("FAN_ON_TURBO")); 
     156                                node.getAirflowInterface().setAirflowState(new CustomAirflowStateName("FAN_ON_TURBO")); 
    157157                        else  
    158                                 node.getAirThroughputInterface().setAirThroughputState(StandardAirThroughputStateName.ON); 
     158                                node.getAirflowInterface().setAirflowState(StandardAirflowStateName.ON); 
    159159                } 
    160160        } 
Note: See TracChangeset for help on using the changeset viewer.