seda.sandStorm.test.bench.simple_sa
Class ProcessStageExpCPU
java.lang.Object
seda.sandStorm.test.bench.simple_sa.ProcessStage
seda.sandStorm.test.bench.simple_sa.ProcessStageExpCPU
- All Implemented Interfaces:
- EventHandlerIF
public class ProcessStageExpCPU
- extends ProcessStage
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DEBUG
private static final boolean DEBUG
- See Also:
- Constant Field Values
MU
private double MU
rand
private java.util.Random rand
num_processed
private int num_processed
PROFILE
private static final boolean PROFILE
- See Also:
- Constant Field Values
serviceTimeStats
private seda.util.StatsGatherer serviceTimeStats
targetServiceTimeStats
private seda.util.StatsGatherer targetServiceTimeStats
countStats
private seda.util.StatsGatherer countStats
ProcessStageExpCPU
public ProcessStageExpCPU()
init
public void init(ConfigDataIF config)
throws java.lang.Exception
- Description copied from interface:
EventHandlerIF
- Called when an event handler is initialized. This method should
perform any initialization operations as required by the application.
- Specified by:
init
in interface EventHandlerIF
- Overrides:
init
in class ProcessStage
- Parameters:
config
- The set of configuration parameters for the stage.
- Throws:
java.lang.Exception
- The EventHandler can indicate an
error to the runtime during initialization by throwing an
Exception.
processMessage
protected void processMessage(Message msg)
- Specified by:
processMessage
in class ProcessStage