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

#include <packet_flow_memory_model.h>

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

Private Member Functions

 NotSerializable (memory_message) public
 
long byte_length () const
 Virtual function to return size. More...
 
uint64_t unique_id () const
 
std::string to_string () const
 
node_id toaddr () const
 
node_id fromaddr () const
 
double max_bw () const
 

Private Attributes

uint64_t id_
 
long bytes_
 
double max_bw_
 

Additional Inherited Members

- Public Member Functions inherited from sstmac::message
virtual ~message ()
 
- Public Member Functions inherited from sstmac::event
void serialize_order (serializer &ser)
 
virtual bool is_packet () const
 convenience methods More...
 
virtual bool is_credit () const
 
virtual bool is_failure () const
 
template<class T >
T * interface ()
 
- Public Member Functions inherited from sprockit::serializable
virtual const char * cls_name () const =0
 
virtual uint32_t cls_id () const =0
 
virtual ~serializable ()
 
- Protected Types inherited from sprockit::serializable
enum  cxn_flag_t { ConstructorFlag }
 

Detailed Description

Definition at line 15 of file packet_flow_memory_model.h.

Member Function Documentation

long sstmac::hw::memory_message::byte_length ( ) const
inlineprivatevirtual

Virtual function to return size.

Child classes should impement this if they want any size tracked / modeled.

Returns
Zero size, meant to be implemented by children.

Implements sstmac::flow.

Definition at line 25 of file packet_flow_memory_model.h.

References bytes_.

node_id sstmac::hw::memory_message::fromaddr ( ) const
inlineprivatevirtual

Implements sstmac::message.

Definition at line 44 of file packet_flow_memory_model.h.

double sstmac::hw::memory_message::max_bw ( ) const
inlineprivate

Definition at line 48 of file packet_flow_memory_model.h.

References max_bw_.

Referenced by sstmac::hw::packet_flow_memory_model::schedule().

sstmac::hw::memory_message::NotSerializable ( memory_message  )
inlineprivate

Definition at line 17 of file packet_flow_memory_model.h.

std::string sstmac::hw::memory_message::to_string ( ) const
inlineprivatevirtual

Implements sstmac::event.

Definition at line 34 of file packet_flow_memory_model.h.

node_id sstmac::hw::memory_message::toaddr ( ) const
inlineprivatevirtual

Implements sstmac::message.

Definition at line 39 of file packet_flow_memory_model.h.

uint64_t sstmac::hw::memory_message::unique_id ( ) const
inlineprivatevirtual

Implements sstmac::flow.

Definition at line 29 of file packet_flow_memory_model.h.

References id_.

Member Data Documentation

long sstmac::hw::memory_message::bytes_
private

Definition at line 54 of file packet_flow_memory_model.h.

Referenced by byte_length().

uint64_t sstmac::hw::memory_message::id_
private

Definition at line 53 of file packet_flow_memory_model.h.

Referenced by unique_id().

double sstmac::hw::memory_message::max_bw_
private

Definition at line 55 of file packet_flow_memory_model.h.

Referenced by max_bw().


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