#include <simple_switch.h>
Definition at line 14 of file simple_switch.h.
virtual sstmac::hw::simple_switch::~simple_switch |
( |
| ) |
|
|
virtual |
void sstmac::hw::simple_switch::add_switch |
( |
connectable * |
sw | ) |
|
|
protected |
virtual void sstmac::hw::simple_switch::connect_ejector |
( |
int |
src_outport, |
|
|
int |
dst_inport, |
|
|
event_handler * |
nic |
|
) |
| |
|
protectedvirtual |
virtual void sstmac::hw::simple_switch::connect_injector |
( |
int |
src_outport, |
|
|
int |
dst_inport, |
|
|
event_handler * |
nic |
|
) |
| |
|
protectedvirtual |
virtual void sstmac::hw::simple_switch::connect_input |
( |
int |
src_outport, |
|
|
int |
dst_inport, |
|
|
connectable * |
mod, |
|
|
config * |
cfg |
|
) |
| |
|
virtual |
virtual void sstmac::hw::simple_switch::connect_output |
( |
int |
src_outport, |
|
|
int |
dst_inport, |
|
|
connectable * |
mod, |
|
|
config * |
cfg |
|
) |
| |
|
virtual |
std::vector<switch_id> sstmac::hw::simple_switch::connected_switches |
( |
| ) |
const |
virtual void sstmac::hw::simple_switch::finalize_init |
( |
| ) |
|
|
virtual |
virtual void sstmac::hw::simple_switch::handle |
( |
event * |
ev | ) |
|
|
virtual |
Cast message and pass to #send.
- Parameters
-
msg | Incoming message (should cast to packet_train) |
Referenced by queue_length().
double sstmac::hw::simple_switch::hop_bandwidth |
( |
| ) |
const |
|
inline |
timestamp sstmac::hw::simple_switch::hop_latency |
( |
| ) |
const |
|
inline |
virtual void sstmac::hw::simple_switch::init_factory_params |
( |
sprockit::sim_parameters * |
params | ) |
|
|
virtual |
virtual void sstmac::hw::simple_switch::initialize |
( |
| ) |
|
|
virtual |
double sstmac::hw::simple_switch::inverse_bw |
( |
| ) |
const |
|
inline |
timestamp sstmac::hw::simple_switch::lookahead |
( |
| ) |
const |
int sstmac::hw::simple_switch::queue_length |
( |
int |
port | ) |
const |
|
inline |
virtual void sstmac::hw::simple_switch::set_event_manager |
( |
event_manager * |
m | ) |
|
|
virtual |
void sstmac::hw::simple_switch::set_topology |
( |
topology * |
top | ) |
|
virtual std::string sstmac::hw::simple_switch::to_string |
( |
| ) |
const |
|
inlinevirtual |
timestamp sstmac::hw::simple_switch::hop_latency_ |
|
protected |
double sstmac::hw::simple_switch::inj_bw_inverse_ |
|
protected |
timestamp sstmac::hw::simple_switch::inj_lat_ |
|
protected |
double sstmac::hw::simple_switch::inv_min_bw_ |
|
protected |
double sstmac::hw::simple_switch::inverse_bw_ |
|
protected |
node_id sstmac::hw::simple_switch::my_end_ |
|
protected |
node_id sstmac::hw::simple_switch::my_start_ |
|
protected |
spkt_unordered_map<node_id, nic*> sstmac::hw::simple_switch::nics_ |
|
protected |
The documentation for this class was generated from the following file: