12 #ifndef SST_CORE_SYNC_THREADSYNCSIMPLESKIP_H 13 #define SST_CORE_SYNC_THREADSYNCSIMPLESKIP_H 15 #include "sst/core/action.h" 16 #include "sst/core/sst_types.h" 17 #include "sst/core/sync/syncManager.h" 18 #include "sst/core/sync/syncQueue.h" 19 #include "sst/core/threadsafe.h" 21 #include <unordered_map> 30 class Simulation_impl;
31 class ThreadSyncQueue;
43 void before()
override;
44 void after()
override;
45 void execute(
void)
override;
48 void setSignals(
int end,
int usr,
int alrm)
override;
50 bool getSignals(
int& end,
int& usr,
int& alrm)
override;
56 void prepareForComplete()
override;
60 ActivityQueue* registerRemoteLink(
int tid,
const std::string& name,
Link* link)
override;
62 uint64_t getDataSize()
const;
72 std::unordered_map<std::string, Link*> link_map;
74 std::vector<ThreadSyncQueue*> queues;
75 SimTime_t my_max_period;
78 static SimTime_t localMinimumNextActivityTime;
91 #endif // SST_CORE_SYNC_THREADSYNCSIMPLESKIP_H A class to convert between a component's view of time and the core's view of time.
Definition: timeConverter.h:27
void setSignals(int end, int usr, int alrm) override
Set signals to exchange during sync.
Definition: threadSyncSimpleSkip.cc:182
Definition: threadSyncSimpleSkip.h:33
Definition: syncManager.h:87
void registerLink(const std::string &name, Link *link) override
Register a Link which this Sync Object is responsible for.
Definition: threadSyncSimpleSkip.cc:66
void processLinkUntimedData() override
Cause an exchange of Untimed Data to occur.
Definition: threadSyncSimpleSkip.cc:143
Main control class for a SST Simulation.
Definition: simulation_impl.h:76
void finalizeLinkConfigurations() override
Finish link configuration.
Definition: threadSyncSimpleSkip.cc:159
Definition: threadsafe.h:121
bool getSignals(int &end, int &usr, int &alrm) override
Return exchanged signals after sync.
Definition: threadSyncSimpleSkip.cc:190
Base Class for a queue of Activities.
Definition: activityQueue.h:21
Definition: threadsafe.h:47
Link between two components.
Definition: link.h:51