avrora.monitors
Class EnergyProfiler.Monitor.SleepProbe

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

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


Nested Class Summary
 
Nested classes inherited from class avrora.sim.Simulator.Probe
Simulator.Probe.Empty
 
Constructor Summary
EnergyProfiler.Monitor.SleepProbe()
           
 
Method Summary
 void fireBefore(State s, int pc)
          fired before a sleep mode 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.SleepProbe

public EnergyProfiler.Monitor.SleepProbe()
Method Detail

fireBefore

public void fireBefore(State s,
                       int pc)
fired before a sleep mode 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)