SST/macro
Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
sstmac::hw::macro_switch_interconnect Class Reference

#include <switch_interconnect.h>

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

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_switchswitch_at (switch_id id) const
 
const switch_mapswitches () 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_switchtemplate_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_
 

Detailed Description

Definition at line 67 of file switch_interconnect.h.

Member Typedef Documentation

Definition at line 71 of file switch_interconnect.h.

Constructor & Destructor Documentation

sstmac::hw::macro_switch_interconnect::macro_switch_interconnect ( partition part,
parallel_runtime rt 
)
inline

Definition at line 74 of file switch_interconnect.h.

virtual sstmac::hw::macro_switch_interconnect::~macro_switch_interconnect ( )
virtual

Member Function Documentation

void sstmac::hw::macro_switch_interconnect::deadlock_check ( )
event_loc_id sstmac::hw::macro_switch_interconnect::event_location ( ) const
inline

Definition at line 132 of file switch_interconnect.h.

References sstmac::event_loc_id::null.

timestamp sstmac::hw::macro_switch_interconnect::hop_latency ( ) const
inline
virtual void sstmac::hw::macro_switch_interconnect::immediate_send ( event_scheduler src,
message msg,
timestamp  start 
) const
virtual
virtual void sstmac::hw::macro_switch_interconnect::init_factory_params ( sprockit::sim_parameters *  params)
virtual
timestamp sstmac::hw::macro_switch_interconnect::lookahead ( ) const
inline
virtual void sstmac::hw::macro_switch_interconnect::set_event_manager ( event_manager m)
virtual
void sstmac::hw::macro_switch_interconnect::set_switch_event_manager ( int  thread_id,
switch_id  sid,
event_manager m 
)
protected
network_switch* sstmac::hw::macro_switch_interconnect::switch_at ( switch_id  id) const
inline

Definition at line 98 of file switch_interconnect.h.

const switch_map& sstmac::hw::macro_switch_interconnect::switches ( ) const
inline

Definition at line 108 of file switch_interconnect.h.

static network_switch* sstmac::hw::macro_switch_interconnect::template_switch ( sprockit::sim_parameters *  params,
topology topol,
switch_id  sid = switch_id() 
)
static
int sstmac::hw::macro_switch_interconnect::thread_for_switch ( switch_id  sid) const
virtual std::string sstmac::hw::macro_switch_interconnect::to_string ( ) 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)

Member Data Documentation

switch_map sstmac::hw::macro_switch_interconnect::switches_
protected

Definition at line 145 of file switch_interconnect.h.


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