|
GridSim v3.1 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Objectgridsim.Machine
GridSim Machine class represents an uniprocessor or shared memory multiprocessor machine. It can contain one or more Processing Elements (PEs).
Constructor Summary | |
Machine(int id,
PEList list)
Allocates a new Machine object |
Method Summary | |
int |
ByteSize()
Deprecated. As of GridSim 2.1, replaced by getByteSize() |
int |
getByteSize()
Gets the byte size of this class |
int |
GetID()
Deprecated. As of GridSim 2.1, replaced by getMachineID() |
int |
getMachineID()
Gets the machine ID |
int |
getMIPSRating()
Gets the Millions Instruction Per Second (MIPS) Rating. |
int |
GetMIPSRating()
Deprecated. As of GridSim 2.1, replaced by getMIPSRating() |
int |
getNumBusyPE()
Gets the number of BUSY PE for this Machine |
int |
getNumFreePE()
Gets the number of FREE or non-busy PE for this Machine |
int |
getNumPE()
Gets the number of PE for this Machine |
PEList |
getPEList()
Gets the linked-list of all PEs |
PEList |
GetPEs()
Deprecated. As of GridSim 2.1, replaced by getPEList() |
int |
getSize()
Gets the number of PEs |
int |
GetSize()
Deprecated. As of GridSim 2.1, replaced by getSize() |
boolean |
setStatusPE(boolean status,
int peID)
Sets the particular PE status on this Machine |
Methods inherited from class Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public Machine(int id, PEList list)
id
- the machine IDlist
- list of PEsMethod Detail |
public int GetID()
getMachineID()
public int getMachineID()
public int GetSize()
getSize()
public int getSize()
public PEList GetPEs()
getPEList()
PEList
public PEList getPEList()
PEList
public int GetMIPSRating()
getMIPSRating()
public int getMIPSRating()
public boolean setStatusPE(boolean status, int peID)
status
- PE status, either PE.FREE or PE.BUSYpeID
- PE id
public int getNumPE()
public int getNumFreePE()
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 |