HighLevelPacket Class Reference

#include <highLevelPacket.h>

List of all members.

Public Member Functions

 HighLevelPacket ()
 ~HighLevelPacket ()
simTime get_transit_time ()
void to_low_level_packet (LowLevelPacket *llp)
void from_low_level_packet (LowLevelPacket *llp)
string toString () const
bool operator== (const HighLevelPacket *p)

Public Attributes

ullint addr
double avg_network_latency
unsigned int hop_count
unsigned int stat_memory_serviced_time
ullint req_start_time
ullint waiting_in_ni
uint source
uint destination
uint pkt_cnt
int reqs_left
uint startIndex
virtual_network vn
message_class msg_class
uint virtual_channel
uint transaction_id
simTime sent_time
simTime recv_time
unsigned int data_payload_length
vector< bool > data


Detailed Description

Definition at line 40 of file highLevelPacket.h.


Constructor & Destructor Documentation

HighLevelPacket::HighLevelPacket (  ) 

HighLevelPacket::~HighLevelPacket (  ) 

Definition at line 52 of file highLevelPacket.cc.

References data.


Member Function Documentation

void HighLevelPacket::from_low_level_packet ( LowLevelPacket llp  ) 

simTime HighLevelPacket::get_transit_time (  ) 

Definition at line 75 of file highLevelPacket.cc.

References recv_time, and sent_time.

bool HighLevelPacket::operator== ( const HighLevelPacket p  ) 

Definition at line 80 of file highLevelPacket.cc.

References source, and transaction_id.

void HighLevelPacket::to_low_level_packet ( LowLevelPacket llp  ) 

Definition at line 92 of file highLevelPacket.cc.

References HeadFlit::addr, addr, LowLevelPacket::addr, HeadFlit::avg_network_latency, avg_network_latency, LowLevelPacket::avg_network_latency, LowLevelPacket::control_bits, HeadFlit::control_bits, CONTROL_VECTOR_SIZE, data_payload_length, destination, LowLevelPacket::destination, HeadFlit::dst_address, LowLevelPacket::flits, HeadFlit::hop_count, hop_count, LowLevelPacket::hop_count, Flit::is_single_flit_pkt, HeadFlit::length, LowLevelPacket::length, max_phy_link_bits, HeadFlit::msg_class, msg_class, LowLevelPacket::msg_class, ONE_FLIT_REQ, TailFlit::packet_originated_time, HeadFlit::packet_originated_time, HeadFlit::pkt_cnt, pkt_cnt, LowLevelPacket::pkt_cnt, BodyFlit::populate_body_flit(), HeadFlit::populate_head_flit(), TailFlit::populate_tail_flit(), PRIORITY_REQ, HeadFlit::req_start_time, req_start_time, LowLevelPacket::req_start_time, REQUEST_PKT, RESPONSE_PKT, sent_time, LowLevelPacket::sent_time, source, LowLevelPacket::source, HeadFlit::src_address, HeadFlit::stat_memory_serviced_time, stat_memory_serviced_time, LowLevelPacket::stat_memory_serviced_time, HeadFlit::transaction_id, transaction_id, LowLevelPacket::transaction_id, Flit::vc, virtual_channel, LowLevelPacket::virtual_channel, vn, waiting_in_ni, HeadFlit::waiting_in_ni, and WRITE_REQ.

Referenced by GenericInterfacePhy::handle_new_packet_event(), and GenericInterfaceNB::handle_new_packet_event().

Here is the call graph for this function:

Here is the caller graph for this function:

string HighLevelPacket::toString (  )  const


Member Data Documentation

vector<bool> HighLevelPacket::data

Definition at line 72 of file highLevelPacket.h.

Referenced by from_low_level_packet(), HighLevelPacket(), and to_low_level_packet().

Definition at line 73 of file highLevelPacket.h.

Referenced by HighLevelPacket().

Definition at line 74 of file highLevelPacket.h.

Referenced by HighLevelPacket().

Definition at line 75 of file highLevelPacket.h.

Referenced by from_low_level_packet(), HighLevelPacket(), and to_low_level_packet().


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

Generated on Tue Oct 19 17:22:19 2010 for IRIS by  doxygen 1.5.8