|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.jikesrvm.compilers.opt.instrsched.SchedulingInfo
final class SchedulingInfo
Object containing scheduling information Used by the scheduler
Field Summary | |
---|---|
(package private) int |
alt
|
(package private) int |
cp
|
(package private) int |
etime
|
(package private) int |
time
|
Constructor Summary | |
---|---|
private |
SchedulingInfo()
For internal use only. |
Method Summary | |
---|---|
static void |
createInfo(Instruction i)
Initializes scheduling information for instruction. |
static int |
getAlt(Instruction i)
Returns scheduling alternative for instruction. |
static int |
getCriticalPath(Instruction i)
Returns critical path length for instruction. |
static int |
getEarliestTime(Instruction i)
Returns earliest scheduling time for instruction. |
static SchedulingInfo |
getInfo(Instruction i)
Returns scheduling information for instruction. |
static int |
getTime(Instruction i)
Returns scheduling time for instruction. |
static boolean |
isScheduled(Instruction i)
Checks whether instruction is scheduled. |
static void |
removeInfo(Instruction i)
Removes scheduling information from instruction. |
static void |
resetInfo(Instruction i)
Clears scheduling information of instruction. |
static void |
setCriticalPath(Instruction i,
int cp)
Sets critical path length for instruction. |
static void |
setEarliestTime(Instruction i,
int etime)
Sets earliest scheduling time for instruction. |
static void |
setInfo(Instruction i,
int alt,
int time)
Adds scheduling information to instruction. |
String |
toString()
Returns a string representation of scheduling info. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
int alt
int time
int etime
int cp
Constructor Detail |
---|
private SchedulingInfo()
createInfo(Instruction)
.
Method Detail |
---|
public static void createInfo(Instruction i)
i
- instructionpublic static void removeInfo(Instruction i)
i
- instructionpublic static SchedulingInfo getInfo(Instruction i)
i
- instruction
public static void setInfo(Instruction i, int alt, int time)
i
- instructionalt
- scheduling alternativetime
- scheduling timepublic static void resetInfo(Instruction i)
i
- instructionpublic static boolean isScheduled(Instruction i)
i
- instruction
public static int getAlt(Instruction i)
i
- instruction
public static int getTime(Instruction i)
i
- instruction
public static int getEarliestTime(Instruction i)
i
- instruction
public static void setEarliestTime(Instruction i, int etime)
i
- instructionetime
- earliest scheduling time for instructionpublic static int getCriticalPath(Instruction i)
i
- instruction
public static void setCriticalPath(Instruction i, int cp)
i
- instructioncp
- critical path length for instructionpublic String toString()
toString
in class Object
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |