Ignore:
Timestamp:
06/03/14 15:21:25 (11 years ago)
Author:
wojtekp
Message:
 
Location:
DCWoRMS/branches/coolemall/src/test/thermal/recs/plugins/energy
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • DCWoRMS/branches/coolemall/src/test/thermal/recs/plugins/energy/RecsNodeBaseEEP.java

    r1301 r1367  
    3232        protected String createQuery(ExecTask task) { 
    3333                Executable exec = (Executable)task; 
    34                 Map<ResourceUnitName, ResourceUnit> allocatedResources = exec.getUsedResources().getLast().getResourceUnits(); 
     34                Map<ResourceUnitName, ResourceUnit> allocatedResources = exec.getAllocatedResources().getLast().getResourceUnits(); 
    3535                PEUnit peUnit = (PEUnit) allocatedResources.get(StandardResourceUnitName.PE); 
    3636                 
  • DCWoRMS/branches/coolemall/src/test/thermal/recs/plugins/energy/RecsNodeModelEEP.java

    r1301 r1367  
    8282        protected String createQuery(ExecTask task) { 
    8383                Executable exec = (Executable)task; 
    84                 Map<ResourceUnitName, ResourceUnit> allocatedResources = exec.getUsedResources().getLast().getResourceUnits(); 
     84                Map<ResourceUnitName, ResourceUnit> allocatedResources = exec.getAllocatedResources().getLast().getResourceUnits(); 
    8585                PEUnit peUnit = (PEUnit) allocatedResources.get(StandardResourceUnitName.PE); 
    8686                 
Note: See TracChangeset for help on using the changeset viewer.