|
GridSim 5.0 beta | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Object ProfileEntry Profile.Entry
protected class Profile.Entry
This class is used to return an entry when the user calls one of the methods to query the availability of resources.
Constructor Summary | |
---|---|
protected |
Profile.Entry(double time)
Creates an entry with null ranges and the time given |
protected |
Profile.Entry(double time,
PERangeList list)
Creates an entry with the list of ranges and the time given |
Method Summary | |
---|---|
ProfileEntry |
clone(double time)
Returns a clone of this entry. |
PERangeList |
getAvailRanges()
Returns the list of ranges available at this entry |
int |
getNumPE()
Gets the number of PEs associated with this entry |
String |
toString()
|
Methods inherited from class ProfileEntry |
---|
compareTo, decreaseJob, getNumJobs, getTime, increaseJob, setTime |
Methods inherited from class Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
protected Profile.Entry(double time)
time
- the time for the entryprotected Profile.Entry(double time, PERangeList list)
time
- the time for the entrylist
- the list of rangesMethod Detail |
---|
public PERangeList getAvailRanges()
ProfileEntry
getAvailRanges
in class ProfileEntry
public int getNumPE()
ProfileEntry
getNumPE
in class ProfileEntry
public ProfileEntry clone(double time)
ProfileEntry
clone
in class ProfileEntry
time
- the time for the new entry
public String toString()
toString
in class Object
|
GridSim 5.0 beta | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |