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/threadSyncQueue.h"
19 #include "sst/core/threadsafe.h"
21 #include <unordered_map>
30 class Simulation_impl;
31 class ThreadSyncQueue;
42 void before()
override;
43 void after()
override;
44 void execute(
void)
override;
50 void prepareForComplete()
override;
54 ActivityQueue* registerRemoteLink(
int tid,
const std::string& name,
Link* link)
override;
56 uint64_t getDataSize()
const;
65 std::unordered_map<std::string, Link*> link_map;
67 std::vector<ThreadSyncQueue*> queues;
68 SimTime_t my_max_period;
71 static SimTime_t localMinimumNextActivityTime;
Base Class for a queue of Activities.
Definition: activityQueue.h:22
Definition: threadsafe.h:48
Definition: threadsafe.h:122
Link between two components.
Definition: link.h:38
Main control class for a SST Simulation.
Definition: simulation_impl.h:74
Definition: threadSyncSimpleSkip.h:34
void registerLink(const std::string &name, Link *link) override
Register a Link which this Sync Object is responsible for.
Definition: threadSyncSimpleSkip.cc:65
void processLinkUntimedData() override
Cause an exchange of Untimed Data to occur.
Definition: threadSyncSimpleSkip.cc:142
ThreadSyncSimpleSkip(int num_threads, int thread, Simulation_impl *sim)
Create a new ThreadSync object.
Definition: threadSyncSimpleSkip.cc:27
void finalizeLinkConfigurations() override
Finish link configuration.
Definition: threadSyncSimpleSkip.cc:158
Definition: syncManager.h:81
A class to convert between a component's view of time and the core's view of time.
Definition: timeConverter.h:27