SST/macro
|
The fat_tree_global_adaptive_router class Router encapsulating the special routing computations that must occur on a fat tree topology. More...
#include <fat_tree_global_adaptive_router.h>
Classes | |
struct | Entry |
struct | Match_Fields |
Public Types | |
typedef std::set< Entry > | Table |
Public Member Functions | |
virtual | ~fat_tree_global_adaptive_router () |
fat_tree_global_adaptive_router () | |
virtual std::string | to_string () const |
void | add_entry (const Entry &entry) |
Match_Fields * | get_packet_metadata (packet *pkt) const |
virtual void | route (packet *pkt) |
Public Member Functions inherited from sstmac::hw::fat_tree_router | |
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... | |
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... | |
Private Attributes | |
Table | table |
Additional Inherited Members | |
Protected Member Functions inherited from sstmac::hw::fat_tree_router | |
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 inherited from sstmac::hw::fat_tree_router | |
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_global_adaptive_router class Router encapsulating the special routing computations that must occur on a fat tree topology.
Definition at line 26 of file fat_tree_global_adaptive_router.h.
typedef std::set<Entry> sstmac::hw::fat_tree_global_adaptive_router::Table |
Definition at line 75 of file fat_tree_global_adaptive_router.h.
|
virtual |
|
inline |
Definition at line 32 of file fat_tree_global_adaptive_router.h.
void sstmac::hw::fat_tree_global_adaptive_router::add_entry | ( | const Entry & | entry | ) |
Match_Fields* sstmac::hw::fat_tree_global_adaptive_router::get_packet_metadata | ( | packet * | pkt | ) | const |
|
virtual |
Reimplemented from sstmac::hw::fat_tree_router.
|
inlinevirtual |
Reimplemented from sstmac::hw::fat_tree_router.
Definition at line 38 of file fat_tree_global_adaptive_router.h.
|
private |
Definition at line 89 of file fat_tree_global_adaptive_router.h.