Ignore:
Timestamp:
02/15/13 12:09:02 (12 years ago)
Author:
wojtekp
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • DCWoRMS/trunk/src/schedframe/resources/computing/Processor.java

    r756 r869  
    44import java.util.Properties; 
    55 
     6import schedframe.resources.ResourceStatus; 
    67import schedframe.resources.StandardResourceType; 
    78import schedframe.resources.computing.description.ComputingResourceDescription; 
     
    3637        } 
    3738         
     39        @SuppressWarnings("unchecked") 
     40        public List<Core> getFreeCores(){ 
     41                return (List<Core>) getDescendantsByTypeAndStatus(StandardResourceType.Core, ResourceStatus.FREE); 
     42        } 
     43 
    3844        public int getMIPS(){ 
    3945                int mips; 
Note: See TracChangeset for help on using the changeset viewer.