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

#include <packet_flow_memory_model.h>

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

Public Member Functions

 packet_flow_memory_model (node *nd)
 
virtual ~packet_flow_memory_model ()
 
void set_event_parent (event_scheduler *m)
 
virtual void finalize_init ()
 
virtual void init_factory_params (sprockit::sim_parameters *params)
 
void schedule (timestamp t, event_handler *handler, message *msg)
 
void notify (int vn, message *msg)
 
virtual void access (long bytes, double max_bw, callback *cb)
 
double max_single_bw () const
 
- Public Member Functions inherited from sstmac::hw::packetizer_callback
virtual ~packetizer_callback ()
 

Private Member Functions

int allocate_channel ()
 

Private Attributes

double max_single_bw_
 
std::map< message *, callback * > pending_requests_
 
packet_flow_memory_packetizermem_packetizer_
 
std::list< int > channels_available_
 
int nchannels_
 

Detailed Description

Definition at line 107 of file packet_flow_memory_model.h.

Constructor & Destructor Documentation

sstmac::hw::packet_flow_memory_model::packet_flow_memory_model ( node nd)
inline

Definition at line 112 of file packet_flow_memory_model.h.

virtual sstmac::hw::packet_flow_memory_model::~packet_flow_memory_model ( )
virtual

Member Function Documentation

virtual void sstmac::hw::packet_flow_memory_model::access ( long  bytes,
double  max_bw,
callback cb 
)
virtual
int sstmac::hw::packet_flow_memory_model::allocate_channel ( )
private
virtual void sstmac::hw::packet_flow_memory_model::finalize_init ( )
virtual
virtual void sstmac::hw::packet_flow_memory_model::init_factory_params ( sprockit::sim_parameters *  params)
virtual
double sstmac::hw::packet_flow_memory_model::max_single_bw ( ) const
inline

Definition at line 139 of file packet_flow_memory_model.h.

void sstmac::hw::packet_flow_memory_model::notify ( int  vn,
message msg 
)
virtual
void sstmac::hw::packet_flow_memory_model::schedule ( timestamp  t,
event_handler handler,
message msg 
)
inline

Definition at line 129 of file packet_flow_memory_model.h.

References sstmac::hw::memory_message::max_bw().

Here is the call graph for this function:

void sstmac::hw::packet_flow_memory_model::set_event_parent ( event_scheduler m)

Member Data Documentation

std::list<int> sstmac::hw::packet_flow_memory_model::channels_available_
private

Definition at line 150 of file packet_flow_memory_model.h.

double sstmac::hw::packet_flow_memory_model::max_single_bw_
private

Definition at line 147 of file packet_flow_memory_model.h.

packet_flow_memory_packetizer* sstmac::hw::packet_flow_memory_model::mem_packetizer_
private

Definition at line 149 of file packet_flow_memory_model.h.

int sstmac::hw::packet_flow_memory_model::nchannels_
private

Definition at line 151 of file packet_flow_memory_model.h.

std::map<message*, callback*> sstmac::hw::packet_flow_memory_model::pending_requests_
private

Definition at line 148 of file packet_flow_memory_model.h.


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