|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectavrora.sim.Simulator.Probe.Empty
avrora.monitors.ProfileMonitor.Monitor.CProbe
The CProbe class implements a simple probe that keeps a count
of how many times each instruction in the program has been executed.
| Nested Class Summary |
| Nested classes inherited from class avrora.sim.Simulator.Probe |
Simulator.Probe.Empty |
| Field Summary | |
long[] |
count
|
| Constructor Summary | |
ProfileMonitor.Monitor.CProbe(long[] ic)
|
|
| Method Summary | |
void |
fireBefore(State state,
int pc)
The fireBefore() method is called before the probed instruction executes.
|
| Methods inherited from class avrora.sim.Simulator.Probe.Empty |
fireAfter |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public final long[] count
| Constructor Detail |
public ProfileMonitor.Monitor.CProbe(long[] ic)
| Method Detail |
public void fireBefore(State state,
int pc)
Simulator.Probe.EmptyfireBefore() method is called before the probed instruction executes.
In the implementation of the Empty probe, this method is empty.
fireBefore in interface Simulator.ProbefireBefore in class Simulator.Probe.Emptystate - the state of the simulationpc - the address at which this instruction resides
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||