|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectavrora.monitors.SleepMonitor.Monitor
| Field Summary | |
protected long |
awakeCycles
|
Program |
program
|
Simulator |
simulator
|
protected long |
sleepCycles
|
| Method Summary | |
void |
fire()
The fire() method is called when the event to which it is tied happens with in the
simulator. |
void |
report()
The report() method is called after the simulation is complete. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public final Simulator simulator
public final Program program
protected long sleepCycles
protected long awakeCycles
| Method Detail |
public void report()
Monitorreport() method is called after the simulation is complete. The monitor generates a
textual or other format representation of the information collected during the execution of the
program.
report in interface Monitorpublic void fire()
Simulator.Eventfire() method is called when the event to which it is tied happens with in the
simulator.
fire in interface Simulator.Event
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||