SST/macro
|
The fat_tree_router class Router encapsulating the special routing computations that must occur on a fat tree topology. More...
#include <fat_tree_router.h>
Public Member Functions | |
virtual | ~fat_tree_router () |
fat_tree_router () | |
virtual void | finalize_init () |
virtual void | productive_paths_to_switch (switch_id dst, structured_routable::path_set &paths) |
void | init_factory_params (sprockit::sim_parameters *params) |
void | set_topology (topology *top) |
set_topology Set the topology to be used for route computations. More... | |
virtual std::string | to_string () const |
virtual void | route (packet *pkt) |
Public Member Functions inherited from sstmac::hw::structured_router | |
virtual | ~structured_router () |
virtual void | set_switch (network_switch *sw) |
set_switch Set the parent switch using this router to perform route computations More... | |
void | minimal_route_to_node (node_id node_addr, structured_routable::path &path) |
void | minimal_routes_to_node (node_id node_addr, structured_routable::path ¤t_path, structured_routable::path_set &paths) |
minimal_routes_to_node Special version of routing function that computes all possible minimal paths. More... | |
Protected Member Functions | |
void | build_rng () |
build_rng Build the random number generator for selecting paths More... | |
virtual void | minimal_route_to_switch (switch_id sw_addr, structured_routable::path &path) |
int | choose_up_minimal_path () |
choose_up_path More... | |
int | number_minimal_paths (packet *pkt) const |
number_paths More... | |
Protected Member Functions inherited from sstmac::hw::structured_router | |
structured_router (routing::algorithm_t algo) | |
Protected Attributes | |
int | l_ |
int | k_ |
int | myL_ |
int | logicalid_ |
std::map< long, int > | inports_ |
RNG::Combo * | rng_ |
long | num_leaf_switches_reachable_ |
long | num_leaf_switches_per_path_ |
long | level_relative_id_ |
long | min_reachable_leaf_id_ |
long | max_reachable_leaf_id_ |
long | seed_ |
int | numpicked_ |
int | pickstart_ |
int | numpicktop_ |
int | pickstarttop_ |
Protected Attributes inherited from sstmac::hw::structured_router | |
structured_topology * | regtop_ |
The fat_tree_router class Router encapsulating the special routing computations that must occur on a fat tree topology.
Definition at line 26 of file fat_tree_router.h.
|
virtual |
|
inline |
Definition at line 32 of file fat_tree_router.h.
References finalize_init(), init_factory_params(), productive_paths_to_switch(), and set_topology().
|
protected |
build_rng Build the random number generator for selecting paths
Referenced by to_string().
|
protected |
choose_up_path
Referenced by to_string().
|
virtual |
Referenced by fat_tree_router().
void sstmac::hw::fat_tree_router::init_factory_params | ( | sprockit::sim_parameters * | params | ) |
Referenced by fat_tree_router().
|
protectedvirtual |
Reimplemented from sstmac::hw::structured_router.
Reimplemented in sstmac::hw::fat_tree_dmodk_router.
Referenced by to_string().
|
protected |
number_paths
pkt | The packet being routed by the fat-tree |
Referenced by to_string().
|
virtual |
Reimplemented from sstmac::hw::structured_router.
Reimplemented in sstmac::hw::fat_tree_dmodk_router.
Referenced by fat_tree_router().
|
virtual |
Reimplemented in sstmac::hw::fat_tree_global_adaptive_router, and sstmac::hw::fat_tree_local_adaptive_router.
Referenced by to_string().
|
virtual |
set_topology Set the topology to be used for route computations.
This should always call the parent router::set_topology function.
top |
Reimplemented from sstmac::hw::structured_router.
Referenced by fat_tree_router().
|
inlinevirtual |
Reimplemented in sstmac::hw::fat_tree_dmodk_router, sstmac::hw::fat_tree_global_adaptive_router, and sstmac::hw::fat_tree_local_adaptive_router.
Definition at line 53 of file fat_tree_router.h.
References build_rng(), choose_up_minimal_path(), minimal_route_to_switch(), number_minimal_paths(), and route().
|
protected |
Definition at line 96 of file fat_tree_router.h.
|
protected |
Definition at line 91 of file fat_tree_router.h.
|
protected |
Definition at line 90 of file fat_tree_router.h.
|
protected |
Definition at line 101 of file fat_tree_router.h.
|
protected |
Definition at line 94 of file fat_tree_router.h.
|
protected |
Definition at line 103 of file fat_tree_router.h.
|
protected |
Definition at line 102 of file fat_tree_router.h.
|
protected |
Definition at line 93 of file fat_tree_router.h.
|
protected |
Definition at line 100 of file fat_tree_router.h.
|
protected |
Definition at line 99 of file fat_tree_router.h.
|
protected |
Definition at line 106 of file fat_tree_router.h.
|
protected |
Definition at line 109 of file fat_tree_router.h.
|
protected |
Definition at line 107 of file fat_tree_router.h.
|
protected |
Definition at line 110 of file fat_tree_router.h.
|
protected |
Definition at line 97 of file fat_tree_router.h.
|
protected |
Definition at line 104 of file fat_tree_router.h.