SST
7.1.0
StructuralSimulationToolkit
|
SyncBase defines the API for Sync objects, which are used to synchronize between MPI ranks in a simulation. More...
#include <syncBase.h>
Public Member Functions | |
SyncBase () | |
Create a new Sync object which fires with a specified period. | |
virtual ActivityQueue * | registerLink (const RankInfo &to_rank, const RankInfo &from_rank, LinkId_t link_id, Link *link)=0 |
Register a Link which this Sync Object is responsible for. | |
virtual int | exchangeLinkInitData (int msg_count)=0 |
Cause an exchange of Initialization Data to occur. | |
virtual void | finalizeLinkConfigurations ()=0 |
Finish link configuration. | |
virtual void | setExit (Exit *ex) |
virtual void | setMaxPeriod (TimeConverter *period) |
virtual uint64_t | getDataSize () const =0 |
virtual Action * | getSlaveAction ()=0 |
virtual Action * | getMasterAction ()=0 |
Protected Member Functions | |
void | sendInitData_sync (Link *link, Event *init_data) |
void | finalizeConfiguration (Link *link) |
Protected Attributes | |
Exit * | exit |
TimeConverter * | max_period |
SyncBase defines the API for Sync objects, which are used to synchronize between MPI ranks in a simulation.
This is an internal class, and not a public-facing API.