gridsim
Class Machine

java.lang.Object
  |
  +--gridsim.Machine

public class Machine
extends java.lang.Object

A class representing a Machine of a Grid Resource. It can contain one or more PEs.


Constructor Summary
Machine(int id, gridsim.PEList PEs)
           
 
Method Summary
 int ByteSize()
           
 int GetID()
           
 int GetMIPSRating()
           
 gridsim.PEList GetPEs()
           
 int GetSize()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Machine

public Machine(int id,
               gridsim.PEList PEs)
Method Detail

GetID

public int GetID()

GetSize

public int GetSize()

GetPEs

public gridsim.PEList GetPEs()

GetMIPSRating

public int GetMIPSRating()
Returns:
Sum of MIPS rating of all PEs in a machine. However, for SMPs it is is generally assumed that all PEs have the same rating.

ByteSize

public int ByteSize()