Changeset 152 for xssim/trunk
- Timestamp:
- 03/16/12 09:08:58 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
xssim/trunk/src/example/energy/ComputingNodeEnergyEstimationPlugin.java
r104 r152 4 4 5 5 import test.rewolucja.energy.EnergyEvent; 6 import test.rewolucja.energy.plugin.EnergyEstimationPluginInterface;7 6 import test.rewolucja.resources.physical.base.ComputingResource; 8 7 import test.rewolucja.resources.physical.implementation.CPU; 9 8 import test.rewolucja.resources.physical.implementation.ComputingNode; 10 9 import test.rewolucja.scheduling.JobRegistryInterface; 11 import test.rewolucja.scheduling.PluginConfiguration;12 10 13 public class ComputingNodeEnergyEstimationPlugin implements EnergyEstimationPluginInterface{11 public class ComputingNodeEnergyEstimationPlugin extends BaseEnergyEstimationPlugin { 14 12 15 13 @Override … … 29 27 } 30 28 31 @Override32 29 public String getName() { 33 // TODO Auto-generated method stub 34 return null; 30 return getClass().getName(); 35 31 } 36 32 37 @Override38 33 public void init(Properties properties) { 39 34 // TODO Auto-generated method stub … … 41 36 } 42 37 43 @Override44 public PluginConfiguration getConfiguration() {45 // TODO Auto-generated method stub46 return null;47 }48 49 @Override50 public double estimateEnergyDissipation(EnergyEvent event, JobRegistryInterface jobRegistry, ComputingResource resourceManager) {51 // TODO Auto-generated method stub52 return 0;53 }54 55 @Override56 public double estimateTemperature(EnergyEvent event, JobRegistryInterface jobRegistry, ComputingResource resourceManager) {57 // TODO Auto-generated method stub58 return 0;59 }60 61 38 }
Note: See TracChangeset
for help on using the changeset viewer.