|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object avrora.util.help.HelpCategory avrora.monitors.MonitorFactory avrora.monitors.ProfileMonitor
The ProfileMonitor
class represents a monitor that can collect profiling information such as
counts and branchcounts about the program as it executes.
Nested Class Summary | |
class |
ProfileMonitor.Monitor
The Monitor inner class contains the probes and formatting code that
can report the profile for the program after it has finished executing. |
Field Summary | |
Option.Bool |
CLASSES
|
Option.Bool |
CYCLES
|
Option.Bool |
EMPTY
|
Option.Long |
PERIOD
|
Fields inherited from class avrora.monitors.MonitorFactory |
options |
Fields inherited from class avrora.util.help.HelpCategory |
COMPARATOR, help, name |
Constructor Summary | |
ProfileMonitor()
|
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 |
processOptions |
Methods inherited from class avrora.util.help.HelpCategory |
addCommandExample, addListSection, addOptionSection, addSection, addSubcategorySection, getHelp, getName, printHelp, setName |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public final Option.Bool CYCLES
public final Option.Bool EMPTY
public final Option.Long PERIOD
public final Option.Bool CLASSES
Constructor Detail |
public ProfileMonitor()
Method Detail |
public Monitor newMonitor(Simulator s)
MonitorFactory
newMonitor()
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 MonitorFactory
s
- 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 |