SST/macro
|
#include <switch_interconnect.h>
Public Types | |
typedef spkt_unordered_map< switch_id, network_switch * > | switch_map |
Public Member Functions | |
macro_switch_interconnect (partition *part, parallel_runtime *rt) | |
virtual void | init_factory_params (sprockit::sim_parameters *params) |
virtual std::string | to_string () const |
virtual | ~macro_switch_interconnect () |
virtual void | set_event_manager (event_manager *m) |
network_switch * | switch_at (switch_id id) const |
const switch_map & | switches () const |
virtual void | immediate_send (event_scheduler *src, message *msg, timestamp start) const |
void | write_graph_file (const std::string &graph_file) |
int | thread_for_switch (switch_id sid) const |
timestamp | hop_latency () const |
timestamp | lookahead () const |
event_loc_id | event_location () const |
void | deadlock_check () |
Static Public Member Functions | |
static network_switch * | template_switch (sprockit::sim_parameters *params, topology *topol, switch_id sid=switch_id()) |
Protected Member Functions | |
void | set_switch_event_manager (int thread_id, switch_id sid, event_manager *m) |
Protected Member Functions inherited from sstmac::hw::switch_interconnect_base | |
switch_interconnect_base (partition *part, parallel_runtime *rt) | |
timestamp | send_delay (int num_hops, int num_bytes) const |
Protected Attributes | |
switch_map | switches_ |
Protected Attributes inherited from sstmac::hw::switch_interconnect_base | |
double | hop_bw_ |
timestamp | hop_latency_ |
timestamp | injection_latency_ |
timestamp | lookahead_ |
Definition at line 67 of file switch_interconnect.h.
typedef spkt_unordered_map<switch_id, network_switch*> sstmac::hw::macro_switch_interconnect::switch_map |
Definition at line 71 of file switch_interconnect.h.
|
inline |
Definition at line 74 of file switch_interconnect.h.
|
virtual |
void sstmac::hw::macro_switch_interconnect::deadlock_check | ( | ) |
|
inline |
Definition at line 132 of file switch_interconnect.h.
References sstmac::event_loc_id::null.
|
inline |
Definition at line 122 of file switch_interconnect.h.
References sstmac::hw::switch_interconnect_base::hop_latency_.
|
virtual |
|
virtual |
Reimplemented in sstmac::hw::simple_interconnect.
|
inline |
Definition at line 127 of file switch_interconnect.h.
References sstmac::hw::switch_interconnect_base::lookahead_.
|
virtual |
|
protected |
|
inline |
Definition at line 98 of file switch_interconnect.h.
|
inline |
Definition at line 108 of file switch_interconnect.h.
|
static |
int sstmac::hw::macro_switch_interconnect::thread_for_switch | ( | switch_id | sid | ) | const |
|
inlinevirtual |
Reimplemented in sstmac::hw::simple_interconnect.
Definition at line 83 of file switch_interconnect.h.
void sstmac::hw::macro_switch_interconnect::write_graph_file | ( | const std::string & | graph_file | ) |
|
protected |
Definition at line 145 of file switch_interconnect.h.