SST/macro
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
sstmac::hw::packet_flow_abstract_switch Class Referenceabstract

#include <packet_flow_switch.h>

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

Public Member Functions

virtual void init_factory_params (sprockit::sim_parameters *params)
 
virtual void initialize ()=0
 
timestamp hop_latency () const
 
timestamp lookahead () const
 
virtual int initial_credits () const =0
 
double hop_bandwidth () const
 
packet_sent_statsxbar_stats () const
 
packet_sent_statsbuf_stats () const
 

Protected Member Functions

 packet_flow_abstract_switch ()
 
virtual ~packet_flow_abstract_switch ()
 

Protected Attributes

int packet_size_
 
double link_bw
 
double ej_bw
 
int xbar_output_buffer_num_bytes
 
int xbar_input_buffer_num_bytes
 
double xbar_bw
 
int row_buffer_num_bytes
 
timestamp hop_lat
 
packet_flow_bandwidth_arbitratorlink_arbitrator_template
 
packet_sent_statsxbar_stats_
 
packet_sent_statsbuf_stats_
 

Detailed Description

Definition at line 13 of file packet_flow_switch.h.

Constructor & Destructor Documentation

sstmac::hw::packet_flow_abstract_switch::packet_flow_abstract_switch ( )
protected

Referenced by buf_stats().

virtual sstmac::hw::packet_flow_abstract_switch::~packet_flow_abstract_switch ( )
protectedvirtual

Referenced by buf_stats().

Member Function Documentation

packet_sent_stats* sstmac::hw::packet_flow_abstract_switch::buf_stats ( ) const
inline

Definition at line 48 of file packet_flow_switch.h.

References buf_stats_, link_arbitrator_template, packet_flow_abstract_switch(), xbar_stats_, and ~packet_flow_abstract_switch().

Here is the call graph for this function:

double sstmac::hw::packet_flow_abstract_switch::hop_bandwidth ( ) const
inline

Definition at line 38 of file packet_flow_switch.h.

References link_bw.

timestamp sstmac::hw::packet_flow_abstract_switch::hop_latency ( ) const
inline

Definition at line 25 of file packet_flow_switch.h.

References hop_lat.

virtual void sstmac::hw::packet_flow_abstract_switch::init_factory_params ( sprockit::sim_parameters *  params)
virtual
virtual int sstmac::hw::packet_flow_abstract_switch::initial_credits ( ) const
pure virtual
virtual void sstmac::hw::packet_flow_abstract_switch::initialize ( )
pure virtual
timestamp sstmac::hw::packet_flow_abstract_switch::lookahead ( ) const
inline

Definition at line 30 of file packet_flow_switch.h.

References hop_lat, and initial_credits().

Here is the call graph for this function:

packet_sent_stats* sstmac::hw::packet_flow_abstract_switch::xbar_stats ( ) const
inline

Definition at line 43 of file packet_flow_switch.h.

References xbar_stats_.

Member Data Documentation

packet_sent_stats* sstmac::hw::packet_flow_abstract_switch::buf_stats_
protected

Definition at line 87 of file packet_flow_switch.h.

Referenced by buf_stats().

double sstmac::hw::packet_flow_abstract_switch::ej_bw
protected

Definition at line 72 of file packet_flow_switch.h.

timestamp sstmac::hw::packet_flow_abstract_switch::hop_lat
protected

Definition at line 82 of file packet_flow_switch.h.

Referenced by hop_latency(), and lookahead().

packet_flow_bandwidth_arbitrator* sstmac::hw::packet_flow_abstract_switch::link_arbitrator_template
protected

Definition at line 84 of file packet_flow_switch.h.

Referenced by buf_stats().

double sstmac::hw::packet_flow_abstract_switch::link_bw
protected

Definition at line 70 of file packet_flow_switch.h.

Referenced by hop_bandwidth().

int sstmac::hw::packet_flow_abstract_switch::packet_size_
protected

Definition at line 68 of file packet_flow_switch.h.

int sstmac::hw::packet_flow_abstract_switch::row_buffer_num_bytes
protected
double sstmac::hw::packet_flow_abstract_switch::xbar_bw
protected

Definition at line 78 of file packet_flow_switch.h.

int sstmac::hw::packet_flow_abstract_switch::xbar_input_buffer_num_bytes
protected
int sstmac::hw::packet_flow_abstract_switch::xbar_output_buffer_num_bytes
protected

Definition at line 74 of file packet_flow_switch.h.

packet_sent_stats* sstmac::hw::packet_flow_abstract_switch::xbar_stats_
protected

Definition at line 86 of file packet_flow_switch.h.

Referenced by buf_stats(), and xbar_stats().


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