Ignore:
Timestamp:
06/26/14 14:24:08 (11 years ago)
Author:
wojtekp
Message:
 
File:
1 edited

Legend:

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

    r1210 r1399  
    55import schedframe.resources.computing.Processor; 
    66import schedframe.resources.computing.profiles.energy.EnergyEvent; 
    7 import schedframe.resources.computing.profiles.energy.airthroughput.StandardAirThroughputStateName; 
     7import schedframe.resources.computing.profiles.energy.airthroughput.StandardAirflowStateName; 
    88import schedframe.resources.devices.PhysicalResource; 
    99import schedframe.scheduling.manager.tasks.JobRegistry; 
     
    3939                try { 
    4040                        if(event.getReason() == EventReason.SIM_INIT) 
    41                                 airThroughput = resource.getAirThroughputInterface().getAirFlow(StandardAirThroughputStateName.OFF); 
     41                                airThroughput = resource.getAirflowInterface().getAirflow(StandardAirflowStateName.OFF); 
    4242                        else 
    43                                 airThroughput = resource.getAirThroughputInterface().getAirFlow(resource.getAirThroughputInterface().getAirThroughputState()); 
     43                                airThroughput = resource.getAirflowInterface().getAirflow(resource.getAirflowInterface().getAirflowState()); 
    4444                } catch (NoSuchFieldException e) { 
    4545                        // TODO Auto-generated catch block 
     
    5353                                if(id - resId == 9 || id - resId == -9){ 
    5454                                        try { 
    55                                                 airThroughput = airThroughput + compResource.getAirThroughputInterface().getAirFlow(compResource.getAirThroughputInterface().getAirThroughputState())/2; 
     55                                                airThroughput = airThroughput + compResource.getAirflowInterface().getAirflow(compResource.getAirflowInterface().getAirflowState())/2; 
    5656                                        } catch (NoSuchFieldException e) { 
    5757                 
Note: See TracChangeset for help on using the changeset viewer.