Implements the Ideal Simulation Protocol, described in the paper "Performance Evaluation of Conservative Algoritms in Parallel Simulation Languages" by Bagrodia et al.
This is not a real synchronization protocol, but rather a research tool to measure efficiency of other synchonization protocols like the null message algorithm.
Public Member Functions | |
cIdealSimulationProtocol () | |
virtual | ~cIdealSimulationProtocol () |
virtual void | startRun () override |
virtual void | endRun () override |
virtual cEvent * | takeNextEvent () override |
virtual void | putBackEvent (cEvent *event) override |
Public Member Functions inherited from cParsimProtocolBase | |
cParsimProtocolBase () | |
virtual | ~cParsimProtocolBase () |
virtual void | processOutgoingMessage (cMessage *msg, const SendOptions &options, int procId, int moduleId, int gateId, void *data) override |
Public Member Functions inherited from cParsimSynchronizer | |
cParsimSynchronizer () | |
virtual | ~cParsimSynchronizer () |
virtual std::string | str () const override |
virtual void | setContext (cSimulation *sim, cParsimPartition *seg, cParsimCommunications *co) |
virtual cEvent * | guessNextEvent () override |
Constructor.
|
virtual |
Destructor.
|
overridevirtual |
Called at the beginning of a simulation run.
Implements cParsimSynchronizer.
|
overridevirtual |
Called at the end of a simulation run.
Implements cParsimSynchronizer.
|
overridevirtual |
Scheduler function.
Implements cParsimSynchronizer.
|
overridevirtual |
Undo takeNextEvent() – it comes from the cScheduler interface.