|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectavrora.monitors.MonitorFactory
avrora.monitors.SleepMonitor
The SleepMonitor class is a monitor that tracks statistics
about the sleeping patterns of programs, including the total number of
cycles awake and the total number of cycles asleep during the simulation.
| Nested Class Summary | |
class |
SleepMonitor.Monitor
|
| Field Summary |
| Fields inherited from class avrora.monitors.MonitorFactory |
help, options, shortName |
| Constructor Summary | |
SleepMonitor()
|
|
| Method Summary | |
Monitor |
newMonitor(Simulator s)
The newMonitor() method creates a new monitor for the
specified instance of Simulator. |
| 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 SleepMonitor()
| Method Detail |
public Monitor newMonitor(Simulator s)
MonitorFactorynewMonitor() method creates a new monitor for the
specified instance of Simulator. The resulting monitor
may insert probes, watches, or events into the simulation to collect
information and later report that information after the simulation is
complete.
newMonitor in class MonitorFactorys - the Simulator instance to create the monitor for
Monitor interface that represents
the monitor for the simulator
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||