#include <packet_flow_tiled_switch.h>
|
| packet_flow_tiled_switch () |
|
virtual void | initialize () |
|
virtual void | init_factory_params (sprockit::sim_parameters *params) |
|
int | queue_length (int port) const |
|
virtual void | connect (int src_outport, int dst_inport, connection_type_t ty, connectable *mod, config *cfg) |
|
virtual void | connect_output (int src_outport, int dst_inport, connectable *mod, config *cfg) |
|
virtual void | connect_input (int src_outport, int dst_inport, connectable *mod, config *cfg) |
|
std::vector< switch_id > | connected_switches () const |
|
void | handle (event *ev) |
| Cast message and pass to #send. More...
|
|
void | add_ejector (node_id addr, event_handler *link) |
| Set the link to use when ejecting packets at their endpoint. More...
|
|
virtual void | set_event_manager (event_manager *m) |
|
virtual std::string | to_string () const |
|
int | initial_credits () const |
|
virtual | ~packet_flow_tiled_switch () |
|
event_handler * | demuxer (int port) const |
|
void | deadlock_check () |
|
timestamp | hop_latency () const |
|
timestamp | lookahead () const |
|
double | hop_bandwidth () const |
|
packet_sent_stats * | xbar_stats () const |
|
packet_sent_stats * | buf_stats () const |
|
Definition at line 18 of file packet_flow_tiled_switch.h.
sstmac::hw::packet_flow_tiled_switch::packet_flow_tiled_switch |
( |
| ) |
|
|
inline |
Definition at line 24 of file packet_flow_tiled_switch.h.
References add_ejector(), connect(), connect_input(), connect_output(), connected_switches(), handle(), init_factory_params(), initialize(), queue_length(), set_event_manager(), and to_string().
virtual sstmac::hw::packet_flow_tiled_switch::~packet_flow_tiled_switch |
( |
| ) |
|
|
virtual |
Set the link to use when ejecting packets at their endpoint.
A packet_flow_switch can have any number of ejectors, corresponding to the number of nodes per switch.
- Parameters
-
addr | The compute node address of the endpoint to eject to |
link | The link to the compute node for ejection |
Referenced by packet_flow_tiled_switch().
virtual void sstmac::hw::packet_flow_tiled_switch::connect |
( |
int |
src_outport, |
|
|
int |
dst_inport, |
|
|
connection_type_t |
ty, |
|
|
connectable * |
mod, |
|
|
config * |
cfg |
|
) |
| |
|
virtual |
virtual void sstmac::hw::packet_flow_tiled_switch::connect_ejector |
( |
int |
src_outport, |
|
|
int |
dst_inport, |
|
|
event_handler * |
nic |
|
) |
| |
|
protectedvirtual |
virtual void sstmac::hw::packet_flow_tiled_switch::connect_injector |
( |
int |
src_outport, |
|
|
int |
dst_inport, |
|
|
event_handler * |
nic |
|
) |
| |
|
protectedvirtual |
virtual void sstmac::hw::packet_flow_tiled_switch::connect_input |
( |
int |
src_outport, |
|
|
int |
dst_inport, |
|
|
connectable * |
mod, |
|
|
config * |
cfg |
|
) |
| |
|
virtual |
void sstmac::hw::packet_flow_tiled_switch::connect_input |
( |
int |
src_outport, |
|
|
int |
dst_inport, |
|
|
event_handler * |
mod, |
|
|
config * |
cfg |
|
) |
| |
|
private |
virtual void sstmac::hw::packet_flow_tiled_switch::connect_output |
( |
int |
src_outport, |
|
|
int |
dst_inport, |
|
|
connectable * |
mod, |
|
|
config * |
cfg |
|
) |
| |
|
virtual |
void sstmac::hw::packet_flow_tiled_switch::connect_output |
( |
int |
src_outport, |
|
|
int |
dst_inport, |
|
|
event_handler * |
mod, |
|
|
config * |
cfg |
|
) |
| |
|
private |
std::vector<switch_id> sstmac::hw::packet_flow_tiled_switch::connected_switches |
( |
| ) |
const |
void sstmac::hw::packet_flow_tiled_switch::deadlock_check |
( |
| ) |
|
event_handler* sstmac::hw::packet_flow_tiled_switch::demuxer |
( |
int |
port | ) |
const |
|
inline |
void sstmac::hw::packet_flow_tiled_switch::handle |
( |
event * |
ev | ) |
|
Cast message and pass to #send.
- Parameters
-
msg | Incoming message (should cast to packet_train) |
Referenced by packet_flow_tiled_switch().
void sstmac::hw::packet_flow_tiled_switch::init_components |
( |
| ) |
|
|
private |
virtual void sstmac::hw::packet_flow_tiled_switch::init_factory_params |
( |
sprockit::sim_parameters * |
params | ) |
|
|
virtual |
int sstmac::hw::packet_flow_tiled_switch::initial_credits |
( |
| ) |
const |
|
inlinevirtual |
virtual void sstmac::hw::packet_flow_tiled_switch::initialize |
( |
| ) |
|
|
virtual |
int sstmac::hw::packet_flow_tiled_switch::queue_length |
( |
int |
port | ) |
const |
void sstmac::hw::packet_flow_tiled_switch::resize_buffers |
( |
| ) |
|
|
private |
int sstmac::hw::packet_flow_tiled_switch::row_col_to_tile |
( |
int |
row, |
|
|
int |
col |
|
) |
| |
|
private |
virtual void sstmac::hw::packet_flow_tiled_switch::set_event_manager |
( |
event_manager * |
m | ) |
|
|
virtual |
void sstmac::hw::packet_flow_tiled_switch::tile_to_row_col |
( |
int |
tile, |
|
|
int & |
row, |
|
|
int & |
col |
|
) |
| |
|
private |
virtual std::string sstmac::hw::packet_flow_tiled_switch::to_string |
( |
| ) |
const |
|
virtual |
std::vector<packet_flow_muxer*> sstmac::hw::packet_flow_tiled_switch::col_output_muxers_ |
|
protected |
int sstmac::hw::packet_flow_tiled_switch::ncols_ |
|
protected |
int sstmac::hw::packet_flow_tiled_switch::nrows_ |
|
protected |
The documentation for this class was generated from the following file: