- Timestamp:
- 07/15/14 16:37:15 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
DCWoRMS/branches/coolemall/src/test/thermal/recs/plugins/energy/RecsFanEEP.java
r1312 r1420 3 3 import example.energy.BaseEnergyEstimationPlugin; 4 4 5 import schedframe.resources.computing.profiles.energy. EnergyEvent;5 import schedframe.resources.computing.profiles.energy.ResourceEvent; 6 6 import schedframe.resources.devices.Device; 7 7 import schedframe.resources.devices.PhysicalResource; … … 10 10 public class RecsFanEEP extends BaseEnergyEstimationPlugin { 11 11 12 public double estimatePowerConsumption( EnergyEvent event, JobRegistry jobRegistry, PhysicalResource resource) {12 public double estimatePowerConsumption(ResourceEvent event, JobRegistry jobRegistry, PhysicalResource resource) { 13 13 14 14 return ThermalConstants.fanPower; 15 15 } 16 16 17 public double estimateTemperature( EnergyEvent event, JobRegistry jobRegistry, PhysicalResource resource) {17 public double estimateTemperature(ResourceEvent event, JobRegistry jobRegistry, PhysicalResource resource) { 18 18 19 19 double temp = 0;
Note: See TracChangeset
for help on using the changeset viewer.