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"
23#include <unordered_map>
46 void before()
override;
47 void after()
override;
48 void execute()
override;
51 void setSignals(
int end,
int usr,
int alrm)
override;
53 bool getSignals(
int& end,
int& usr,
int& alrm)
override;
59 void prepareForComplete()
override;
63 ActivityQueue* registerRemoteLink(
int tid,
const std::string& name,
Link* link)
override;
65 uint64_t getDataSize()
const;
75 std::unordered_map<std::string, Link*> link_map;
77 std::vector<ThreadSyncQueue*> queues;
78 SimTime_t my_max_period;
81 static SimTime_t localMinimumNextActivityTime;
Base Class for a queue of Activities.
Definition activityQueue.h:22
Definition threadsafe.h:46
Definition threadsafe.h:132
Base class for Events - Items sent across links to communicate between components.
Definition event.h:35
Exit Event Action.
Definition exit.h:36
Link between two components.
Definition link.h:55
Main control class for a SST Simulation.
Definition simulation_impl.h:87
Definition syncQueue.h:91
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
void setSignals(int end, int usr, int alrm) override
Set signals to exchange during sync.
Definition threadSyncSimpleSkip.cc:182
ThreadSyncSimpleSkip(int num_threads, int thread, Simulation_impl *sim)
Create a new ThreadSync object.
Definition threadSyncSimpleSkip.cc:27
bool getSignals(int &end, int &usr, int &alrm) override
Return exchanged signals after sync.
Definition threadSyncSimpleSkip.cc:190
void finalizeLinkConfigurations() override
Finish link configuration.
Definition threadSyncSimpleSkip.cc:159
A class to convert between a component's view of time and the core's view of time.
Definition timeConverter.h:28