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

Public Member Functions

 RankSyncSerialSkip (RankInfo num_ranks)
 Create a new Sync object which fires with a specified period.
ActivityQueueregisterLink (const RankInfo &to_rank, const RankInfo &from_rank, Link *link) override
 Register a Link which this Sync Object is responsible for.
void execute (int thread) override
void exchangeLinkUntimedData (int thread, std::atomic< int > &msg_count) override
 Cause an exchange of Untimed Data to occur.
void finalizeLinkConfigurations () override
 Finish link configuration.
void prepareForComplete () override
 Prepare for the complete() stage.
void setSignals (int end, int usr, int alrm) override
 Set signals to exchange during sync.
bool getSignals (int &end, int &usr, int &alrm) override
 Return exchanged signals after sync.
void setShutdownFlags (bool enter_shutdown, Simulation::ShutdownMode_t shutdown_mode) override
 Set interactive flags to exchange during sync.
void setCkptFlag (bool generate_ckpt) override
void setFlags (bool enter_interactive, bool enter_shutdown, Simulation::ShutdownMode_t shutdown_mode) override
void getShutdownFlags (bool &enter_shutdown, Simulation::ShutdownMode_t &shutdown_mode) override
 Return exchanged interactive flags after sync.
void getCkptFlag (bool &generate_ckpt) override
void getFlags (bool &enter_interactive, bool &enter_shutdown, Simulation::ShutdownMode_t &shutdown_mode) override
void clearFlags () override
 Clear interactive flags before next run.
SimTime_t getNextSyncTime () override
void setRestartTime (SimTime_t time) override
uint64_t getDataSize () const override
void setProfileToolList (Profile::SyncProfileToolList *profile_tools) override
Public Member Functions inherited from SST::RankSync
 RankSync (RankInfo num_ranks)
void exchangeLinkInfo (uint32_t my_rank)
SimTime_t findSyncInterval (uint32_t my_rank)
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::RankSyncSerialSkip::clearFlags ( )
overridevirtual

Clear interactive flags before next run.

Implements SST::RankSync.

◆ exchangeLinkUntimedData()

void SST::RankSyncSerialSkip::exchangeLinkUntimedData ( int thread,
std::atomic< int > & msg_count )
overridevirtual

Cause an exchange of Untimed Data to occur.

Implements SST::RankSync.

◆ execute()

void SST::RankSyncSerialSkip::execute ( int thread)
overridevirtual

Implements SST::RankSync.

◆ finalizeLinkConfigurations()

void SST::RankSyncSerialSkip::finalizeLinkConfigurations ( )
overridevirtual

Finish link configuration.

Implements SST::RankSync.

◆ getCkptFlag()

void SST::RankSyncSerialSkip::getCkptFlag ( bool & generate_ckpt)
overridevirtual

Implements SST::RankSync.

◆ getDataSize()

uint64_t SST::RankSyncSerialSkip::getDataSize ( ) const
overridevirtual

Implements SST::RankSync.

◆ getFlags()

void SST::RankSyncSerialSkip::getFlags ( bool & enter_interactive,
bool & enter_shutdown,
Simulation::ShutdownMode_t & shutdown_mode )
overridevirtual

Implements SST::RankSync.

◆ getNextSyncTime()

SimTime_t SST::RankSyncSerialSkip::getNextSyncTime ( )
inlineoverridevirtual

Reimplemented from SST::RankSync.

◆ getShutdownFlags()

void SST::RankSyncSerialSkip::getShutdownFlags ( bool & enter_shutdown,
Simulation::ShutdownMode_t & shutdown_mode )
overridevirtual

Return exchanged interactive flags after sync.

Implements SST::RankSync.

◆ getSignals()

bool SST::RankSyncSerialSkip::getSignals ( int & end,
int & usr,
int & alrm )
overridevirtual

Return exchanged signals after sync.

Implements SST::RankSync.

◆ prepareForComplete()

void SST::RankSyncSerialSkip::prepareForComplete ( )
overridevirtual

Prepare for the complete() stage.

Implements SST::RankSync.

◆ registerLink()

ActivityQueue * SST::RankSyncSerialSkip::registerLink ( const RankInfo & to_rank,
const RankInfo & from_rank,
Link * link )
overridevirtual

Register a Link which this Sync Object is responsible for.

Implements SST::RankSync.

References SST::Link::getId(), and SST::RankSync::link_maps.

◆ setCkptFlag()

void SST::RankSyncSerialSkip::setCkptFlag ( bool generate_ckpt)
overridevirtual

Implements SST::RankSync.

◆ setFlags()

void SST::RankSyncSerialSkip::setFlags ( bool enter_interactive,
bool enter_shutdown,
Simulation::ShutdownMode_t shutdown_mode )
overridevirtual

Implements SST::RankSync.

◆ setRestartTime()

void SST::RankSyncSerialSkip::setRestartTime ( SimTime_t time)
overridevirtual

Reimplemented from SST::RankSync.

◆ setShutdownFlags()

void SST::RankSyncSerialSkip::setShutdownFlags ( bool enter_shutdown,
Simulation::ShutdownMode_t shutdown_mode )
overridevirtual

Set interactive flags to exchange during sync.

Implements SST::RankSync.

◆ setSignals()

void SST::RankSyncSerialSkip::setSignals ( int end,
int usr,
int alrm )
overridevirtual

Set signals to exchange during sync.

Implements SST::RankSync.


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