Changeset 1434 for DCWoRMS/branches/coolemall/src/schedframe/resources
- Timestamp:
- 09/15/14 17:00:03 (11 years ago)
- Location:
- DCWoRMS/branches/coolemall/src/schedframe/resources
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
DCWoRMS/branches/coolemall/src/schedframe/resources/computing/profiles/energy/EnergyExtension.java
r1423 r1434 218 218 } 219 219 220 public AirflowProfile getAir FlowProfile() {220 public AirflowProfile getAirflowProfile() { 221 221 return airflowProfile; 222 222 } -
DCWoRMS/branches/coolemall/src/schedframe/resources/units/ProcessingElements.java
r1423 r1434 227 227 else if(delta < 0) { 228 228 for(int i = this.resources.size() - 1; i >= 0 && delta < 0; i--){ 229 ComputingResource r = this.resources.get(i);230 if( r.getStatus() == ResourceStatus.BUSY){231 if(new JobRegistryImpl( r.getFullName()).getRunningTasks().size() == 0){232 r.setStatus(ResourceStatus.FREE);229 ComputingResource cr = this.resources.get(i); 230 if(cr.getStatus() == ResourceStatus.BUSY){ 231 if(new JobRegistryImpl(cr).getRunningTasks().size() == 0){ 232 cr.setStatus(ResourceStatus.FREE); 233 233 delta++; 234 234 }
Note: See TracChangeset
for help on using the changeset viewer.