Changeset 1399 for DCWoRMS/branches/coolemall/src/test/article2/recs/plugins/energy/RecsCpuBaseEEP.java
- Timestamp:
- 06/26/14 14:24:08 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
DCWoRMS/branches/coolemall/src/test/article2/recs/plugins/energy/RecsCpuBaseEEP.java
r1210 r1399 5 5 import schedframe.resources.computing.Processor; 6 6 import schedframe.resources.computing.profiles.energy.EnergyEvent; 7 import schedframe.resources.computing.profiles.energy.airthroughput.StandardAir ThroughputStateName;7 import schedframe.resources.computing.profiles.energy.airthroughput.StandardAirflowStateName; 8 8 import schedframe.resources.devices.PhysicalResource; 9 9 import schedframe.scheduling.manager.tasks.JobRegistry; … … 39 39 try { 40 40 if(event.getReason() == EventReason.SIM_INIT) 41 airThroughput = resource.getAir ThroughputInterface().getAirFlow(StandardAirThroughputStateName.OFF);41 airThroughput = resource.getAirflowInterface().getAirflow(StandardAirflowStateName.OFF); 42 42 else 43 airThroughput = resource.getAir ThroughputInterface().getAirFlow(resource.getAirThroughputInterface().getAirThroughputState());43 airThroughput = resource.getAirflowInterface().getAirflow(resource.getAirflowInterface().getAirflowState()); 44 44 } catch (NoSuchFieldException e) { 45 45 // TODO Auto-generated catch block … … 53 53 if(id - resId == 9 || id - resId == -9){ 54 54 try { 55 airThroughput = airThroughput + compResource.getAir ThroughputInterface().getAirFlow(compResource.getAirThroughputInterface().getAirThroughputState())/2;55 airThroughput = airThroughput + compResource.getAirflowInterface().getAirflow(compResource.getAirflowInterface().getAirflowState())/2; 56 56 } catch (NoSuchFieldException e) { 57 57
Note: See TracChangeset
for help on using the changeset viewer.