|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectavrora.monitors.TraceMonitor.Monitor
The Monitor class implements the monitor for the profiler. It contains a
ProgramProfiler instance which is a probe that is executed after every instruction that
collects execution counts for every instruction in the program.
| Nested Class Summary | |
class |
TraceMonitor.Monitor.Probe
|
| Field Summary | |
int |
count
|
Program |
program
|
Simulator |
simulator
|
| Method Summary | |
void |
report()
The report() method generates a textual report for the profiling information gathered
from the execution of the program. |
| 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
public int count
| Method Detail |
public void report()
report() method generates a textual report for the profiling information gathered
from the execution of the program. The result is a table of performance information giving the
number of executions of each instruction, compressed for basic blocks.
report in interface Monitor
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||