SST 16.0.0
Structural Simulation Toolkit
SST::EmptyRankSync Class Reference
Inheritance diagram for SST::EmptyRankSync:
SST::RankSync

Public Member Functions

 EmptyRankSync (const RankInfo &num_ranks)
ActivityQueueregisterLink (const RankInfo &UNUSED(to_rank), const RankInfo &UNUSED(from_rank), Link *UNUSED(link)) override
 Register a Link which this Sync Object is responsible for.
void execute (int UNUSED(thread)) override
void exchangeLinkUntimedData (int UNUSED_WO_MPI(thread), std::atomic< int > &UNUSED_WO_MPI(msg_count)) override
void finalizeLinkConfigurations () override
void prepareForComplete () override
void setSignals (int UNUSED(end), int UNUSED(usr), int UNUSED(alrm)) override
bool getSignals (int &end, int &usr, int &alrm) override
 Return exchanged signals after sync.
void setShutdownFlags (bool UNUSED(enter_shutdown), Simulation::ShutdownMode_t UNUSED(shutdown_mode)) override
void setCkptFlag (bool UNUSED(generate_ckpt)) override
void setFlags (bool UNUSED(enter_interactive), bool UNUSED(enter_shutdown), Simulation::ShutdownMode_t UNUSED(shutdown_mode)) override
void getShutdownFlags (bool &UNUSED(enter_shutdown), Simulation::ShutdownMode_t &UNUSED(shutdown_mode)) override
void getCkptFlag (bool &UNUSED(generate_ckpt)) override
void getFlags (bool &UNUSED(enter_interactive), bool &UNUSED(enter_shutdown), Simulation::ShutdownMode_t &UNUSED(shutdown_mode)) override
void clearFlags () override
 Clear interactive flags before next run.
SimTime_t getNextSyncTime () override
uint64_t getDataSize () const override
void setRestartTime (SimTime_t UNUSED(time)) override
Public Member Functions inherited from SST::RankSync
 RankSync (RankInfo num_ranks)
virtual ActivityQueueregisterLink (const RankInfo &to_rank, const RankInfo &from_rank, Link *link)=0
 Register a Link which this Sync Object is responsible for.
void exchangeLinkInfo (uint32_t my_rank)
SimTime_t findSyncInterval (uint32_t my_rank)
virtual void execute (int thread)=0
virtual void exchangeLinkUntimedData (int thread, std::atomic< int > &msg_count)=0
virtual void setSignals (int end, int usr, int alrm)=0
 Set signals to exchange during sync.
virtual void setShutdownFlags (bool enter_shutdown, Simulation::ShutdownMode_t shutdown_mode)=0
 Set interactive flags to exchange during sync.
virtual void setCkptFlag (bool generate_ckpt)=0
virtual void setFlags (bool enter_interactive, bool enter_shutdown, Simulation::ShutdownMode_t shutdown_mode)=0
virtual void getShutdownFlags (bool &enter_shutdown, Simulation::ShutdownMode_t &shutdown_mode)=0
 Return exchanged interactive flags after sync.
virtual void getCkptFlag (bool &generate_ckpt)=0
virtual void getFlags (bool &enter_interactive, bool &enter_shutdown, Simulation::ShutdownMode_t &shutdown_mode)=0
virtual void setRestartTime (SimTime_t time)
void setMaxPeriod (SimTime_t period)
SimTime_t getMaxPeriod ()
virtual void setProfileToolList (Profile::SyncProfileToolList *UNUSED(profile_list))

Additional Inherited Members

Protected Member Functions inherited from SST::RankSync
void finalizeConfiguration (Link *link)
void prepareForCompleteInt (Link *link)
void sendUntimedData_sync (Link *link, Event *data)
void setLinkDeliveryInfo (Link *link, uintptr_t info)
LinkgetDeliveryLink (Event *ev)
Protected Attributes inherited from SST::RankSync
SimTime_t nextSyncTime
SimTime_t max_period
const RankInfo num_ranks_
std::vector< std::vector< std::pair< uint64_t, uintptr_t > > > link_maps
 This uses uint64_t because it is used for two different types of data at different times:

Member Function Documentation

◆ clearFlags()

void SST::EmptyRankSync::clearFlags ( )
inlineoverridevirtual

Clear interactive flags before next run.

Implements SST::RankSync.

◆ finalizeLinkConfigurations()

void SST::EmptyRankSync::finalizeLinkConfigurations ( )
inlineoverridevirtual

Implements SST::RankSync.

◆ getDataSize()

uint64_t SST::EmptyRankSync::getDataSize ( ) const
inlineoverridevirtual

Implements SST::RankSync.

◆ getNextSyncTime()

SimTime_t SST::EmptyRankSync::getNextSyncTime ( )
inlineoverridevirtual

Reimplemented from SST::RankSync.

◆ getSignals()

bool SST::EmptyRankSync::getSignals ( int & end,
int & usr,
int & alrm )
inlineoverridevirtual

Return exchanged signals after sync.

Implements SST::RankSync.

◆ prepareForComplete()

void SST::EmptyRankSync::prepareForComplete ( )
inlineoverridevirtual

Implements SST::RankSync.


The documentation for this class was generated from the following file:
  • src/sst/core/sync/syncManager.cc