org.jikesrvm.compilers.baseline
Class ConditionalBranchProfile
java.lang.Object
org.jikesrvm.compilers.baseline.BranchProfile
org.jikesrvm.compilers.baseline.ConditionalBranchProfile
public final class ConditionalBranchProfile
- extends BranchProfile
Profile data for a branch instruction.
Field Summary |
(package private) boolean |
backwards
|
(package private) float |
taken
|
taken
final float taken
backwards
final boolean backwards
ConditionalBranchProfile
ConditionalBranchProfile(int _bci,
int yea,
int nea,
boolean bw)
- Parameters:
_bci
- the bytecode index of the source branch instructionyea
- the number of times the branch was takennea
- the number of times the branch was not takenbw
- is this a backwards branch?
getTakenProbability
public float getTakenProbability()
toString
public String toString()
- Overrides:
toString
in class Object