|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
ObjectModBitTracker
public class ModBitTracker
ModBitTracker maintains a BitSet for each variable at a program point. The BitSet indicates, for each sample seen in order, whether that variable was present or not.
| Constructor Summary | |
|---|---|
ModBitTracker(int num_vars)
|
|
| Method Summary | |
|---|---|
void |
add(ValueTuple vt,
int count)
Add to this the modbits for the given ValueTuple. |
void |
checkRep()
Check the representation invariant. |
BitSet |
get(int varindex)
Returns a BitSet of modbit values for the given variable. |
boolean |
get(int varindex,
int sampleno)
Returns the modbit for the given variable and sample number. |
int |
num_samples()
|
int |
num_sets()
Accessor for testing only. |
int |
num_vars()
|
| Methods inherited from class Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ModBitTracker(int num_vars)
| Method Detail |
|---|
public int num_vars()
public int num_samples()
public int num_sets()
public void checkRep()
public BitSet get(int varindex)
public boolean get(int varindex,
int sampleno)
public void add(ValueTuple vt,
int count)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||