OMNeT++ Parallel Simulation Support  6.0.3
cIdealSimulationProtocol Class Reference

#include <cidealsimulationprot.h>

Description

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.

Inheritance diagram for cIdealSimulationProtocol:
cParsimProtocolBase cParsimSynchronizer cScheduler cObject cISimulationLifecycleListener

Public Member Functions

 cIdealSimulationProtocol ()
 
virtual ~cIdealSimulationProtocol ()
 
virtual void startRun () override
 
virtual void endRun () override
 
virtual cEventtakeNextEvent () 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 cEventguessNextEvent () override
 

Constructor & Destructor Documentation

◆ cIdealSimulationProtocol()

Constructor.

◆ ~cIdealSimulationProtocol()

virtual ~cIdealSimulationProtocol ( )
virtual

Destructor.

Member Function Documentation

◆ startRun()

virtual void startRun ( )
overridevirtual

Called at the beginning of a simulation run.

Implements cParsimSynchronizer.

◆ endRun()

virtual void endRun ( )
overridevirtual

Called at the end of a simulation run.

Implements cParsimSynchronizer.

◆ takeNextEvent()

virtual cEvent* takeNextEvent ( )
overridevirtual

Scheduler function.

Implements cParsimSynchronizer.

◆ putBackEvent()

virtual void putBackEvent ( cEvent event)
overridevirtual

Undo takeNextEvent() – it comes from the cScheduler interface.

Implements cScheduler.


The documentation for this class was generated from the following file: