Changeset 176
- Timestamp:
- 03/16/12 13:09:18 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
xssim/trunk/src/test/rewolucja/energy/profile/PowerProfileFactory.java
r130 r176 11 11 public class PowerProfileFactory { 12 12 13 public static PowerInterface createPowerProfile(ComputingResource resource, EnergyExtension ee){13 /*public static PowerInterface createPowerProfile(ComputingResource resource, EnergyExtension ee){ 14 14 15 15 PowerInterface powerProfile; 16 16 if(true){ 17 17 String cpuPowerClass = null; 18 /*if(cpuPowerClass != null) {18 if(cpuPowerClass != null) { 19 19 powerProfile = (PowerInterface) InstanceFactory.createInstance( 20 20 cpuPowerClass, PowerInterface.class); … … 29 29 } 30 30 31 } else { */31 } else { 32 32 switch(resource.getType()){ 33 33 case COMPUTING_GRID: powerProfile = null; … … 45 45 } 46 46 return powerProfile; 47 } 47 }*/ 48 48 49 49 public static PowerInterface createPowerProfile(ResourceType resourceType, Category category){
Note: See TracChangeset
for help on using the changeset viewer.