SST/macro
Public Member Functions | Protected Member Functions | List of all members
sstmac::hw::null_node Class Reference

A null node. More...

#include <null_node.h>

Inheritance diagram for sstmac::hw::null_node:
Inheritance graph
Collaboration diagram for sstmac::hw::null_node:
Collaboration graph

Public Member Functions

virtual ~null_node ()
 
void init_factory_params (sprockit::sim_parameters *params)
 Standard factory type initializer. More...
 
- Public Member Functions inherited from sstmac::hw::simple_node
virtual ~simple_node ()
 
virtual void finalize_init ()
 Standard factory type initializer. More...
 
void init_factory_params (sprockit::sim_parameters *params)
 Standard factory type initializer. More...
 
virtual void execute (ami::COMP_FUNC func, event *data, callback *cb)
 Make the node execute a particular compute function. More...
 
virtual void set_event_manager (event_manager *man)
 Set the eventmanager for this scheduler. More...
 
- Public Member Functions inherited from sstmac::hw::node
virtual ~node ()
 
void set_nic (nic *n)
 Initializer used in stand-alone core. More...
 
void connect (int src_outport, int dst_inport, connection_type_t ty, connectable *mod, config *cfg)
 connect More...
 
memory_modelmem () const
 
nicget_nic () const
 
sw::operating_systemos () const
 
virtual std::string to_string () const
 
node_id addr () const
 
void fail_stop ()
 Cause the node to crash. More...
 
unique_event_id allocate_unique_id ()
 Choose a unique (64-bit) integer ID for a message. More...
 
virtual void execute (ami::SERVICE_FUNC func, event *data)
 execute Asynchronously execute a kernel on some service associated with the node. More...
 
virtual void handle (event *ev)
 
void send_to_nic (network_message *netmsg)
 Push a network message (operation at the MTL layer) onto the NIC. More...
 
void launch (timestamp start, sw::launch_event *msg)
 
- Public Member Functions inherited from sprockit::factory_type
virtual void init_factory_params (sim_parameters *params)
 
- Public Member Functions inherited from sstmac::hw::failable
bool failed () const
 
void fail ()
 
- Public Member Functions inherited from sstmac::event_scheduler
virtual ~event_scheduler ()
 
void cancel_all_messages ()
 
void ipc_schedule (timestamp t, event_handler *handler, event *ev)
 ipc_schedule Should only be called on stub handlers for which handler->ipc_handler() returns true More...
 
void schedule (timestamp t, event_handler *handler, event *ev)
 Add an event to the event queue, where msg will get delivered to handler at time t. More...
 
void schedule (timestamp t, event_queue_entry *ev)
 
void schedule_now (event_queue_entry *ev)
 
void schedule_now (event_handler *handler, event *ev)
 
void schedule_delay (timestamp delay, event_handler *handler, event *ev)
 
void schedule_delay (timestamp delay, event_queue_entry *ev)
 
void send_self_event (timestamp arrival, event *ev)
 
void send_delayed_self_event (timestamp delay, event *ev)
 
void send_now_self_event (event *ev)
 
void send_self_event_queue (timestamp arrival, event_queue_entry *ev)
 
void send_delayed_self_event_queue (timestamp delay, event_queue_entry *ev)
 
void send_now_self_event_queue (event_queue_entry *ev)
 
void register_stat (stat_collector *coll)
 
event_managerevent_mgr () const
 
timestamp now () const
 get the current time More...
 
int nthread () const
 
- Public Member Functions inherited from sstmac::event_handler
virtual ~event_handler ()
 
event_loc_id event_location () const
 
virtual bool ipc_handler () const
 Whether an event handler is a "fake" handler that represents logical process boundary. More...
 
int thread_id () const
 
virtual void deadlock_check (event *ev)
 
virtual void deadlock_check ()
 

Protected Member Functions

void null_warning (sprockit::sim_parameters *params)
 
- Protected Member Functions inherited from sstmac::hw::node
 node ()
 
void connect_nic ()
 
- Protected Member Functions inherited from sstmac::hw::failable
 failable ()
 
- Protected Member Functions inherited from sstmac::event_scheduler
 event_scheduler ()
 
- Protected Member Functions inherited from sstmac::event_handler
 event_handler ()
 
void init_loc_id (event_loc_id id)
 
void init_thread_id (int id)
 

Additional Inherited Members

- Public Types inherited from sstmac::hw::connectable
enum  config_type_t {
  RedundantConnection =0, WeightedConnection =1, FixedBandwidthConnection =2, FixedConnection =3,
  BasicConnection =4
}
 
enum  connection_type_t { output, input }
 
- Static Public Member Functions inherited from sstmac::hw::connectable
static const char * str (connection_type_t ty)
 
- Static Public Attributes inherited from sstmac::event_handler
static const int null_lpid = -1
 
static const int null_threadid = -1
 
- Static Public Attributes inherited from sstmac::hw::connectable
static const int any_port = -1
 
- Protected Attributes inherited from sstmac::hw::node
sw::app_launchenv_
 
sw::operating_systemos_
 
node_id my_addr_
 
memory_modelmem_model_
 
processorproc_
 
nicnic_
 
int ncores_
 
int nsocket_
 
- Protected Attributes inherited from sstmac::hw::failable
bool failed_
 
- Protected Attributes inherited from sstmac::event_scheduler
uint32_t seqnum_
 

Detailed Description

A null node.

All requests just complete immediately.

Definition at line 12 of file null_node.h.

Constructor & Destructor Documentation

virtual sstmac::hw::null_node::~null_node ( )
virtual

Member Function Documentation

void sstmac::hw::null_node::init_factory_params ( sprockit::sim_parameters *  params)
virtual

Standard factory type initializer.

Read in all parameters. The parameter object

Reimplemented from sstmac::hw::node.

void sstmac::hw::null_node::null_warning ( sprockit::sim_parameters *  params)
protected

The documentation for this class was generated from the following file: