Changeset 192 for xssim/trunk/src/example/localplugin/FCFSNodePowerManagementClusterLocalPlugin.java
- Timestamp:
- 03/26/12 12:03:27 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
xssim/trunk/src/example/localplugin/FCFSNodePowerManagementClusterLocalPlugin.java
r163 r192 46 46 case TASK_FINISHED: 47 47 // our tasks are placed only in first queue (see 48 // BaseLocalPlugin.place TasksInQueues() method)48 // BaseLocalPlugin.placeJobsInQueues() method) 49 49 Queue q = queues.get(0); 50 50 // check all tasks in queue … … 60 60 addToSchedulingPlan(plan, task, choosenResources); 61 61 } else { 62 if(harness NodestoWork(task, resourceManager.getComputingNodes()))62 if(harnessIdleNodesToWork(task, resourceManager.getComputingNodes())) 63 63 i--; 64 64 } … … 130 130 } 131 131 132 private boolean harness NodestoWork(TaskInterface<?> task, List<ComputingNode> nodes){132 private boolean harnessIdleNodesToWork(TaskInterface<?> task, List<ComputingNode> nodes){ 133 133 int cpuRequest; 134 134 try {
Note: See TracChangeset
for help on using the changeset viewer.