|
GridSim v3.1 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
ObjectAbstractCollection
AbstractList
AbstractSequentialList
LinkedList
gridsim.PEList
GridSim PEList maintains a list of PEs (Processing Elements) that make up a machine.
Field Summary |
Fields inherited from class AbstractList |
modCount |
Constructor Summary | |
PEList()
Allocates a new PEList object |
Method Summary | |
int |
ByteSize()
Deprecated. As of GridSim 2.1, replaced by getByteSize() |
int |
getByteSize()
Gets the byte size of PEList internal data members |
int |
getFreePEID()
Gets a PE ID which is FREE |
int |
GetFreePEID()
Deprecated. As of GridSim 2.1, replaced by getFreePEID() |
int |
getMIPSRating(int id)
Gets MIPS Rating for a specified PE ID |
int |
GetMIPSRating(int id)
Deprecated. As of GridSim 2.1, replaced by getMIPSRating(int) |
int |
getNumBusyPE()
Gets the number of BUSY PE |
int |
getNumFreePE()
Gets the number of FREE or non-busy PE. |
boolean |
setStatusPE(boolean status,
int peID)
Sets the PE status |
Methods inherited from class LinkedList |
add, add, addAll, addAll, addFirst, addLast, clear, clone, contains, get, getFirst, getLast, indexOf, lastIndexOf, listIterator, remove, remove, removeFirst, removeLast, set, size, toArray, toArray |
Methods inherited from class AbstractSequentialList |
iterator |
Methods inherited from class AbstractList |
equals, hashCode, listIterator, removeRange, subList |
Methods inherited from class AbstractCollection |
containsAll, isEmpty, removeAll, retainAll, toString |
Methods inherited from class Object |
finalize, getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface List |
containsAll, equals, hashCode, isEmpty, iterator, listIterator, removeAll, retainAll, subList |
Constructor Detail |
public PEList()
Method Detail |
public int GetMIPSRating(int id)
getMIPSRating(int)
id
- the PE ID
public int getMIPSRating(int id)
id
- the PE ID
public int GetFreePEID()
getFreePEID()
public int getFreePEID()
public int getNumFreePE()
public boolean setStatusPE(boolean status, int peID)
status
- PE status, either PE.FREE or PE.BUSYpeID
- PE id
public int getNumBusyPE()
public int ByteSize()
getByteSize()
public int getByteSize()
|
GridSim v3.1 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |