SST/macro
Classes | Public Types | Public Member Functions | Private Attributes | List of all members
sstmac::hw::fat_tree_global_adaptive_router Class Reference

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>

Inheritance diagram for sstmac::hw::fat_tree_global_adaptive_router:
Inheritance graph
Collaboration diagram for sstmac::hw::fat_tree_global_adaptive_router:
Collaboration graph

Classes

struct  Entry
 
struct  Match_Fields
 

Public Types

typedef std::set< EntryTable
 

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_Fieldsget_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 &current_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::Comborng_
 
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_topologyregtop_
 

Detailed Description

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.

Member Typedef Documentation

Definition at line 75 of file fat_tree_global_adaptive_router.h.

Constructor & Destructor Documentation

virtual sstmac::hw::fat_tree_global_adaptive_router::~fat_tree_global_adaptive_router ( )
virtual
sstmac::hw::fat_tree_global_adaptive_router::fat_tree_global_adaptive_router ( )
inline

Definition at line 32 of file fat_tree_global_adaptive_router.h.

Member Function Documentation

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 void sstmac::hw::fat_tree_global_adaptive_router::route ( packet pkt)
virtual

Reimplemented from sstmac::hw::fat_tree_router.

virtual std::string sstmac::hw::fat_tree_global_adaptive_router::to_string ( ) const
inlinevirtual

Reimplemented from sstmac::hw::fat_tree_router.

Definition at line 38 of file fat_tree_global_adaptive_router.h.

Member Data Documentation

Table sstmac::hw::fat_tree_global_adaptive_router::table
private

Definition at line 89 of file fat_tree_global_adaptive_router.h.


The documentation for this class was generated from the following file: