SyncBase defines the API for Sync objects, which are used to synchronize between MPI ranks in a simulation. More...
#include <sync.h>
Public Member Functions | |
SyncBase () | |
Create a new Sync object which fires with a specified period. | |
virtual ActivityQueue * | registerLink (int 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) |
void | print (const std::string &header, Output &out) const |
Generic print-print function for this Activity. | |
virtual uint64_t | getDataSize () const =0 |
Protected Member Functions | |
void | sendInitData_sync (Link *link, Event *init_data) |
void | finalizeConfiguration (Link *link) |
Protected Attributes | |
Exit * | exit |
TimeConverter * | max_period |
Friends | |
class | boost::serialization::access |
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.
void SST::SyncBase::print | ( | const std::string & | header, | |
Output & | out | |||
) | const [virtual] |
Generic print-print function for this Activity.
Subclasses should override this function.
Reimplemented from SST::Action.
References SST::Activity::getDeliveryTime(), SST::TimeConverter::getFactor(), SST::Activity::getPriority(), and SST::Output::output().