SST/macro
|
#include <packet_flow_packetizer.h>
Public Member Functions | |
void | recv_packet (packet_flow_payload *pkt) |
Public Member Functions inherited from sstmac::hw::packet_flow_nic_packetizer | |
packet_flow_nic_packetizer () | |
std::string | to_string () const |
virtual void | init_factory_params (sprockit::sim_parameters *params) |
virtual | ~packet_flow_nic_packetizer () |
void | setNotify (event_handler *handler) |
bool | spaceToSend (int vn, int num_bits) const |
We assume the injection buffer has infinite occupancy. More... | |
void | inject (int vn, long bytes, long byte_offset, message *payload) |
void | set_output (int port, connectable *output, int credits) |
Set up the injection/ejection links to the switch the NIC is connected to. More... | |
void | set_input (int port, connectable *input) |
virtual void | set_event_parent (event_scheduler *m) |
Set the eventmanager for this scheduler. More... | |
virtual void | finalize_init () |
void | set_acker (event_handler *handler) |
double | injection_bandwidth () const |
Public Member Functions inherited from sstmac::hw::packet_flow_packetizer | |
void | handle (event *ev) |
Public Member Functions inherited from sstmac::hw::packetizer | |
virtual | ~packetizer () |
void | start (int vn, message *payload) |
void | packetArrived (int vn, packet *pkt) |
void | sendWhatYouCan (int vn) |
void | setNotify (packetizer_callback *handler) |
int | packetSize () const |
Public Member Functions inherited from sprockit::factory_type | |
virtual void | init_factory_params (sim_parameters *params) |
Public Member Functions inherited from sstmac::event_subscheduler | |
event_subscheduler () | |
timestamp | now () const |
get the current time 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) |
event_scheduler * | parent () 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 () |
Definition at line 107 of file packet_flow_packetizer.h.
|
virtual |
Implements sstmac::hw::packet_flow_packetizer.