SST/macro
|
#include <packet_flow_buffer.h>
Public Member Functions | |
virtual | ~packet_flow_buffer () |
virtual void | set_output (int this_outport, int dst_inport, event_handler *output) |
virtual int | queue_length () const |
event_loc_id | output_location () const |
event_loc_id | input_location () const |
Public Member Functions inherited from sstmac::hw::packet_flow_sender | |
virtual | ~packet_flow_sender () |
void | set_acker (event_handler *acker) |
virtual void | set_input (int my_inport, int dst_outport, event_handler *input)=0 |
virtual void | init_credits (int port, int num_credits)=0 |
virtual int | num_initial_credits () const =0 |
void | handle_payload (packet_flow_payload *pkt) |
void | set_event_location (node_id nid) |
void | set_event_location (switch_id sid) |
void | set_stat_collector (packet_sent_stats *c) |
std::string | to_string () const |
virtual std::string | packet_flow_name () const =0 |
void | set_update_vc (bool flag) |
Public Member Functions inherited from sstmac::hw::packet_flow_handler | |
packet_flow_handler () | |
virtual | ~packet_flow_handler () |
virtual void | handle (event *ev) |
virtual void | handle_credit (packet_flow_credit *msg)=0 |
int | thread_id () const |
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) |
virtual void | set_event_parent (event_scheduler *m) |
Set the eventmanager for this scheduler. More... | |
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 () |
Protected Member Functions | |
packet_flow_buffer (const timestamp &send_lat, const timestamp &credit_lat, packet_flow_bandwidth_arbitrator *arb) | |
packet_flow_buffer () | |
std::string | buffer_string (const char *name) const |
Protected Member Functions inherited from sstmac::hw::packet_flow_sender | |
packet_flow_sender (const timestamp &send_lat, const timestamp &credit_lat) | |
packet_flow_sender () | |
void | send_credit (const packet_flow_input &src, packet_flow_payload *payload, timestamp packet_tail_leaves) |
void | send (packet_flow_bandwidth_arbitrator *arb, packet_flow_payload *pkt, const packet_flow_input &src, const packet_flow_output &dest) |
virtual void | do_handle_payload (packet_flow_payload *pkt)=0 |
Protected Member Functions inherited from sstmac::event_handler | |
event_handler () | |
void | init_loc_id (event_loc_id id) |
void | init_thread_id (int id) |
Protected Attributes | |
packet_flow_bandwidth_arbitrator * | arb_ |
packet_flow_input | input_ |
packet_flow_output | output_ |
long | bytes_delayed_ |
Protected Attributes inherited from sstmac::hw::packet_flow_sender | |
packet_sent_stats * | stat_collector_ |
event_handler * | acker_ |
timestamp | send_lat_ |
timestamp | credit_lat_ |
bool | update_vc_ |
Protected Attributes inherited from sstmac::event_subscheduler | |
event_scheduler * | parent_ |
Static Protected Attributes | |
static const int | my_outport = 0 |
static const int | my_inport = 0 |
Additional Inherited Members | |
Static Public Attributes inherited from sstmac::event_handler | |
static const int | null_lpid = -1 |
static const int | null_threadid = -1 |
Definition at line 12 of file packet_flow_buffer.h.
|
virtual |
|
protected |
send_lat | |
credit_lat | |
arb | An arbitrator with outgoing bw already initialized |
|
inlineprotected |
Definition at line 51 of file packet_flow_buffer.h.
References buffer_string().
Referenced by input_location().
|
protected |
Referenced by packet_flow_buffer().
|
inline |
Definition at line 34 of file packet_flow_buffer.h.
References sstmac::event_handler::event_location(), sstmac::hw::packet_flow_input::handler, input_, and packet_flow_buffer().
|
inline |
Definition at line 29 of file packet_flow_buffer.h.
References sstmac::event_handler::event_location(), sstmac::hw::packet_flow_output::handler, and output_.
|
inlinevirtual |
Reimplemented in sstmac::hw::packet_flow_injection_buffer, and sstmac::hw::packet_flow_network_buffer.
Definition at line 24 of file packet_flow_buffer.h.
Referenced by sstmac::hw::packet_flow_network_buffer::~packet_flow_network_buffer().
|
virtual |
Implements sstmac::hw::packet_flow_sender.
|
protected |
Definition at line 57 of file packet_flow_buffer.h.
|
protected |
Definition at line 60 of file packet_flow_buffer.h.
|
protected |
Definition at line 58 of file packet_flow_buffer.h.
Referenced by input_location().
|
staticprotected |
Definition at line 63 of file packet_flow_buffer.h.
|
staticprotected |
Definition at line 62 of file packet_flow_buffer.h.
|
protected |
Definition at line 59 of file packet_flow_buffer.h.
Referenced by output_location().