avrora.monitors
Class ProfileMonitor.Monitor

java.lang.Object
  extended byavrora.monitors.ProfileMonitor.Monitor
All Implemented Interfaces:
Monitor
Enclosing class:
ProfileMonitor

public class ProfileMonitor.Monitor
extends java.lang.Object
implements 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.


Field Summary
 ProgramProfiler profile
           
 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

simulator

public final Simulator simulator

program

public final Program program

profile

public final ProgramProfiler profile
Method Detail

report

public void report()
The 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.

Specified by:
report in interface Monitor