Ignore:
Timestamp:
11/26/13 12:37:15 (11 years ago)
Author:
wojtekp
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • DCWoRMS/branches/coolemall/src/test/article2/recs/plugins/energy/RecsCpuBaseEEP.java

    r826 r1210  
    66import schedframe.resources.computing.profiles.energy.EnergyEvent; 
    77import schedframe.resources.computing.profiles.energy.airthroughput.StandardAirThroughputStateName; 
     8import schedframe.resources.devices.PhysicalResource; 
    89import schedframe.scheduling.manager.tasks.JobRegistry; 
    910import example.energy.BaseEnergyEstimationPlugin; 
     
    1819         
    1920        public double estimatePowerConsumption(EnergyEvent event, JobRegistry jobRegistry, 
    20                         ComputingResource resource) { 
     21                        PhysicalResource resource) { 
    2122                 
    2223                double powerConsumption = 0; 
     
    3839                try { 
    3940                        if(event.getReason() == EventReason.SIM_INIT) 
    40                                 airThroughput = resource.getAirThroughputInterface().getAirFlow(StandardAirThroughputStateName.FAN_OFF); 
     41                                airThroughput = resource.getAirThroughputInterface().getAirFlow(StandardAirThroughputStateName.OFF); 
    4142                        else 
    4243                                airThroughput = resource.getAirThroughputInterface().getAirFlow(resource.getAirThroughputInterface().getAirThroughputState()); 
Note: See TracChangeset for help on using the changeset viewer.