Changeset 151
- Timestamp:
- 03/16/12 09:08:44 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
xssim/trunk/src/example/energy/CPUEnergyEstimationPlugin.java
r104 r151 9 9 import test.rewolucja.resources.physical.implementation.CPU; 10 10 import test.rewolucja.scheduling.JobRegistryInterface; 11 import test.rewolucja.scheduling.PluginConfiguration;12 11 13 12 public class CPUEnergyEstimationPlugin extends BaseEnergyEstimationPlugin { … … 25 24 } 26 25 27 @Override 28 public double estimateEnergyDissipation(EnergyEvent event, JobRegistryInterface jobRegistry, ComputingResource resourceManager) { 29 // TODO Auto-generated method stub 30 return 0; 26 public String getName() { 27 return getClass().getName(); 31 28 } 32 29 33 @Override34 public double estimateTemperature(EnergyEvent event, JobRegistryInterface jobRegistry, ComputingResource resourceManager) {35 // TODO Auto-generated method stub36 return 0;37 }38 39 @Override40 public String getName() {41 // TODO Auto-generated method stub42 return null;43 }44 45 @Override46 30 public void init(Properties properties) { 47 31 // TODO Auto-generated method stub … … 49 33 } 50 34 51 @Override52 public PluginConfiguration getConfiguration() {53 // TODO Auto-generated method stub54 return null;55 }56 57 35 }
Note: See TracChangeset
for help on using the changeset viewer.