avrora.monitors
Class EnergyProfiler.Monitor.ProcedureProbe

java.lang.Object
  extended byavrora.sim.Simulator.Probe.Empty
      extended byavrora.monitors.EnergyProfiler.Monitor.ProcedureProbe
All Implemented Interfaces:
Simulator.Probe
Enclosing class:
EnergyProfiler.Monitor

public class EnergyProfiler.Monitor.ProcedureProbe
extends Simulator.Probe.Empty


Nested Class Summary
 
Nested classes inherited from class avrora.sim.Simulator.Probe
Simulator.Probe.Empty
 
Constructor Summary
EnergyProfiler.Monitor.ProcedureProbe()
           
 
Method Summary
 void fireBefore(State s, int pc)
          fired before the basic block is entered, it logs the previos state
 
Methods inherited from class avrora.sim.Simulator.Probe.Empty
fireAfter
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EnergyProfiler.Monitor.ProcedureProbe

public EnergyProfiler.Monitor.ProcedureProbe()
Method Detail

fireBefore

public void fireBefore(State s,
                       int pc)
fired before the basic block is entered, it logs the previos state

Specified by:
fireBefore in interface Simulator.Probe
Overrides:
fireBefore in class Simulator.Probe.Empty
Parameters:
s - the state of the simulation
pc - the address at which this instruction resides
See Also:
Simulator.Probe.fireBefore(avrora.sim.State,int)