1 #ifndef MULTITHREADED_EVENT_CONTAINER_H 2 #define MULTITHREADED_EVENT_CONTAINER_H 5 #if !SSTMAC_INTEGRATED_SST_CORE 22 std::list<event_queue_entry*>&
34 std::vector<std::list<event_queue_entry*> >
events_;
49 init_factory_params(sprockit::sim_parameters* params);
67 std::list<event_queue_entry*>&
69 return pending_event_map_.pending_events(srcthread, dstthread);
73 set_interconnect(hw::interconnect* interconn);
76 receive_incoming_events();
82 send_recv_barrier(
int thread_id);
85 time_vote_barrier(
int thread_id,
timestamp min_time);
91 ev_man_for_thread(
int thread_id)
const;
100 return parent->do_vote(min_time);
109 parent->clock_cycle_event_map::receive_incoming_events();
133 #endif // !SSTMAC_INTEGRATED_SST_CORE 135 #endif // MULTITHREADED_EVENT_CONTAINER_H std::list< event_queue_entry * > & pending_events(int srcthread, int dstthread)
~multithreaded_event_container()
send_recv_thread_functor send_recv_functor_
std::vector< multithreaded_subcontainer * > subthreads_
A type of logger that collects some kind of statistic and outputs to a file during or at the end of a...
Base type for implementations of an engine that is able to schedule events and advance simulation tim...
thread_barrier vote_barrier_
multithreaded_event_container * parent
thread_barrier send_recv_barrier_
vote_thread_functor vote_functor_
multithreaded_event_container * parent
thread_event_schedule_map pending_event_map_
A basic container for time (subject to future transplant).
int array_index(int srcthread, int dstthread)
std::list< event_queue_entry * > & pending_events(int srcthread, int dstthread)
SUMI = Simulator unified messagine interface It is also the name for a solid ink in Japanese - i...
std::vector< int > cpu_affinity_
multithreaded_event_container(parallel_runtime *rt)
virtual int64_t execute(int64_t min_time)
void run(opts &oo, sstmac::parallel_runtime *rt, sprockit::sim_parameters *params, sim_stats &stats)
DeclareDebugSlot(multithread_event_manager)
virtual int64_t execute(int64_t)
std::vector< std::list< event_queue_entry * > > events_