|
GridSim v4.0 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Objectgridsim.GridSimStandardPE
Defines MIPS (Million Instructions Per Second) rating for a standard PE (Processing Element) or enables the users to define their own MIPS or SPEC (Standard Performance Evaluation Corporation) rating for a standard PE. This value can be used for creating PEs with relative MIPS or SPEC rating for GridSim resources.
This class can be used to define the capability resources or the execution time of Gridlets with respect to standard PE.
Field Summary | |
static int |
MIPSRating
The default value of MIPS Rating (if not defined elsewhere) |
Method Summary | |
static int |
getRating()
Gets standard PE MIPS Rating |
static int |
GetRating()
Deprecated. As of GridSim 2.1, replaced by getRating() |
static void |
setRating(int rating)
Sets standard PE MIPS Rating |
static void |
SetRating(int rating)
Deprecated. As of GridSim 2.1, replaced by setRating(int) |
static double |
toMIs(double timeInSec)
Converts Execution time in second processor to MIs |
Methods inherited from class Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static int MIPSRating
Method Detail |
public static void SetRating(int rating)
setRating(int)
rating
- the value of a standard PE MIPS ratingpublic static void setRating(int rating)
rating
- the value of a standard PE MIPS ratingpublic static int GetRating()
getRating()
public static int getRating()
public static double toMIs(double timeInSec)
timeInSec
- the execution time in second w.r.t. standard time
|
GridSim v4.0 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |