Changeset 1299 for DCWoRMS/branches/coolemall/src/dcworms/schedframe
- Timestamp:
- 03/19/14 18:22:27 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
DCWoRMS/branches/coolemall/src/dcworms/schedframe/scheduling/Executable.java
r1207 r1299 2 2 3 3 4 import example.energy.coolemall.CoolEmAllTestbedMeasurements;5 4 import gridsim.GridSim; 6 5 import gridsim.dcworms.DCWormsTags; … … 36 35 import schedframe.scheduling.tasks.phases.ResourceConsumptionProfile; 37 36 import schedframe.scheduling.tasks.requirements.ResourceParameterName; 38 import simulator.stats.implementation.ResourceUsefulWorkStats;39 37 40 38 /** … … 213 211 for (ComputingResource resource : pes) { 214 212 213 LinkedList<ComputingResource> toExamine = new LinkedList<ComputingResource>(); 214 toExamine.push(resource); 215 216 while (!toExamine.isEmpty()) { 217 ComputingResource compResource = toExamine.pop(); 218 List<ComputingResource> resources = compResource.getChildren(); 219 int numberOfRes = resources.size(); 220 for (int i = 0; i < numberOfRes; i++) { 221 ComputingResource resourceChild = resources.get(i); 222 trackResource(resourceChild.getFullName()); 223 toExamine.addLast(resourceChild); 224 } 225 } 226 227 215 228 trackResource(resource.getFullName()); 216 229 … … 477 490 String productName = resource.getResourceCharacteristic().getParameters().get("product").get(0).getContent(); 478 491 if(productName.equals("Fusion G - T40N")) 479 preparePhases(" amdf");492 preparePhases("Fusion G - T40N"); 480 493 else if(productName.equals("Atom - D510")) 481 preparePhases(" atom64");494 preparePhases("Atom - D510"); 482 495 else if(productName.equals("Atom - N2600")) 483 preparePhases(" atom64");496 preparePhases("Atom - N2600"); 484 497 else if(productName.equals("Core i7 - 2715QE")) 485 preparePhases(" i7-2715QE");498 preparePhases("Core i7 - 2715QE"); 486 499 else if(productName.equals("Core i7 - 3615QE")) 487 preparePhases("i7-3615QE"); 500 preparePhases("Core i7 - 3615QE"); 501 else if(productName.equals("Xeon E5-2630")) 502 preparePhases("Xeon E5-2630"); 503 else if(productName.equals("Xeon E5-2603")) 504 preparePhases("Xeon E5-2603"); 505 else if(productName.equals("Xeon L5310")) 506 preparePhases("Xeon L5310"); 488 507 } 489 508 return true;
Note: See TracChangeset
for help on using the changeset viewer.