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"
20 #include <unordered_map>
29 class Simulation_impl;
30 class ThreadSyncQueue;
41 void before()
override;
42 void after()
override;
43 void execute(
void)
override;
49 void prepareForComplete()
override;
53 ActivityQueue* registerRemoteLink(
int tid,
const std::string& name,
Link* link)
override;
55 uint64_t getDataSize()
const;
64 std::unordered_map<std::string, Link*> link_map;
66 std::vector<ThreadSyncQueue*> queues;
67 SimTime_t my_max_period;
70 static SimTime_t localMinimumNextActivityTime;
79 #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:26
Definition: threadSyncSimpleSkip.h:32
Definition: syncManager.h:75
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:140
Main control class for a SST Simulation.
Definition: simulation_impl.h:75
void finalizeLinkConfigurations() override
Finish link configuration.
Definition: threadSyncSimpleSkip.cc:156
Base Class for a queue of Activities.
Definition: activityQueue.h:21
ThreadSyncSimpleSkip(int num_threads, int thread, Simulation_impl *sim)
Create a new ThreadSync object.
Definition: threadSyncSimpleSkip.cc:27
Definition: threadsafe.h:47
Link between two components.
Definition: link.h:32