at.dms.kjc.spacedynamic
Class NoSimulator

java.lang.Object
  extended by at.dms.kjc.spacedynamic.Simulator
      extended by at.dms.kjc.spacedynamic.NoSimulator

public class NoSimulator
extends Simulator

Author:
mgordon

Field Summary
 
Fields inherited from class at.dms.kjc.spacedynamic.Simulator
currentJoinerCode, initJoinerCode, initSchedules, initSimulation, joinerCode, joinerSimulator, layout, rawChip, ssg, steadyJoinerCode, steadySchedules, switchSchedules, toplevel
 
Constructor Summary
NoSimulator(SpdStaticStreamGraph ssg, JoinerSimulator joinerSimulator)
           
 
Method Summary
 boolean canFire(FlatNode node, HashMap<FlatNode,Integer> executionCounts, SimulationCounter counters)
           
protected  int fireJoiner(FlatNode fire, SimulationCounter counters, HashMap<FlatNode,Integer> executionCounts)
          this method should fire a joiner, assuming the joiner can fire, and update the simulation state
 void simulate()
          don't do anything
 
Methods inherited from class at.dms.kjc.spacedynamic.Simulator
addJoinerCode, asm, consumedItems, decrementExecutionCounts, fireMe, generateSwitchCode, itemsNeededToFire, needSimulator
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NoSimulator

public NoSimulator(SpdStaticStreamGraph ssg,
                   JoinerSimulator joinerSimulator)
Method Detail

simulate

public void simulate()
don't do anything

Specified by:
simulate in class Simulator

canFire

public boolean canFire(FlatNode node,
                       HashMap<FlatNode,Integer> executionCounts,
                       SimulationCounter counters)
Specified by:
canFire in class Simulator

fireJoiner

protected int fireJoiner(FlatNode fire,
                         SimulationCounter counters,
                         HashMap<FlatNode,Integer> executionCounts)
Description copied from class: Simulator
this method should fire a joiner, assuming the joiner can fire, and update the simulation state

Specified by:
fireJoiner in class Simulator