|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectavrora.monitors.MonitorFactory
avrora.monitors.StackMonitor
The StackMonitor class is a monitor that tracks the height of the program's stack over the
execution of the simulation and reports the maximum stack of the program.
| Nested Class Summary | |
class |
StackMonitor.Monitor
The Monitor class implements a monitor for the stack height that inserts a probe after
every instruction in the program and checks the stack height after each instruction is executed. |
| Field Summary |
| Fields inherited from class avrora.monitors.MonitorFactory |
help, options, shortName |
| Constructor Summary | |
StackMonitor()
The constructor for the StackMonitor class builds a new MonitorFactory
capable of creating monitors for each Simulator instance passed to the
newMonitor() method. |
|
| Method Summary | |
Monitor |
newMonitor(Simulator s)
The newMonitor() method creates a new monitor that is capable of monitoring the stack
height of the program over its execution. |
| Methods inherited from class avrora.monitors.MonitorFactory |
getShortName, processOptions, reportQuantity, reportQuantity, reportQuantity |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public StackMonitor()
StackMonitor class builds a new MonitorFactory
capable of creating monitors for each Simulator instance passed to the
newMonitor() method.
| Method Detail |
public Monitor newMonitor(Simulator s)
newMonitor() method creates a new monitor that is capable of monitoring the stack
height of the program over its execution.
newMonitor in class MonitorFactorys - the simulator to create a monitor for
Monitor interface for the specified simulator
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||