12 #ifndef SSTMAC_BACKENDS_NATIVE_COMPONENTS_NODE_NODE_H_INCLUDED 13 #define SSTMAC_BACKENDS_NATIVE_COMPONENTS_NODE_NODE_H_INCLUDED 37 #define node_debug(...) \ 38 debug_printf(sprockit::dbg::node, "Node %d: %s", int(addr()), sprockit::printf(__VA_ARGS__).c_str()) 50 #if SSTMAC_INTEGRATED_SST_CORE 52 SST::ComponentId_t
id,
58 void init(
unsigned int phase);
89 connect(
int src_outport,
int dst_inport,
207 #if !SSTMAC_INTEGRATED_SST_CORE
memory_model * mem() const
virtual void execute(ami::COMP_FUNC func, event *data, callback *cb)=0
Make the node execute a particular compute function.
unique_event_id next_outgoing_id_
SERVICE_FUNC
Functions that do not block and should return asynchronously.
COMP_FUNC
Functions that block and must complete before returning.
void send_to_nic(network_message *netmsg)
Push a network message (operation at the MTL layer) onto the NIC.
void build_launchers(sprockit::sim_parameters *params)
sw::operating_system * os_
Base type for implementations of an engine that is able to schedule events and advance simulation tim...
void fail_stop()
Cause the node to crash.
unique_event_id allocate_unique_id()
Choose a unique (64-bit) integer ID for a message.
void set_nic(nic *n)
Initializer used in stand-alone core.
virtual void init_factory_params(sprockit::sim_parameters *params)
Standard factory type initializer.
std::list< sw::launch_event * > launchers_
memory_model * mem_model_
A basic container for time (subject to future transplant).
parallel_runtime * init()
SUMI = Simulator unified messagine interface It is also the name for a solid ink in Japanese - i...
virtual std::string to_string() const
virtual void set_event_manager(event_manager *man)
Set the eventmanager for this scheduler.
A networkinterface is a delegate between a node and a server module.
virtual void handle(event *ev)
virtual void finalize_init()
Standard factory type initializer.
An interface for processor models.
void connect(int src_outport, int dst_inport, connection_type_t ty, connectable *mod, config *cfg)
connect
void launch(timestamp start, sw::launch_event *msg)
sw::operating_system * os() const