avrora.monitors
Class EnergyProfiler.Monitor

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

public class EnergyProfiler.Monitor
extends java.lang.Object
implements Monitor

The EnergyProfiler class is a monitor that tracks the power consumption of the cpu instructions. It provides a breakdown to the procedures and records the exact cycles spend in each procedure.


Nested Class Summary
 class EnergyProfiler.Monitor.ProcedureProbe
           
 class EnergyProfiler.Monitor.SleepProbe
           
 
Method Summary
 void report()
          The report() method generates a textual report after the simulation is complete.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

report

public void report()
The report() method generates a textual report after the simulation is complete. The text contains a breakdown each procedure called in the program and the corresponding number of cycles spent in it during program execution. Addionally the number of cycles spent in sleep mode is provided.

Specified by:
report in interface Monitor