Go to the documentation of this file.
34 #include "debug/RubyNetwork.hh"
38 MsgPtr msg_ptr,
int MsgSize, uint32_t bWidth,
Tick curTime)
60 else if (
id == (size - 1))
72 int new_id = (
m_id*ratio) + ser_id;
74 assert(new_id < new_size);
87 int new_id = ((int)
divCeil((
float)(
m_id+1), (
float)ratio)) - 1;
89 assert(new_id < new_size);
103 out <<
"Id=" <<
m_id <<
" ";
104 out <<
"Type=" <<
m_type <<
" ";
105 out <<
"Size=" <<
m_size <<
" ";
106 out <<
"Vnet=" <<
m_vnet <<
" ";
107 out <<
"VC=" <<
m_vc <<
" ";
112 out <<
"Set Time=" <<
m_time <<
" ";
113 out <<
"Width=" <<
m_width<<
" ";
uint64_t Tick
Tick count type.
T divCeil(const T &a, const U &b)
void set_src_delay(Tick delay)
std::pair< flit_stage, Tick > m_stage
std::shared_ptr< Message > MsgPtr
virtual void print(std::ostream &out) const
A Packet is used to encapsulate a transfer between two objects in the memory system (e....
virtual flit * deserialize(int des_id, int num_flits, uint32_t bWidth)
void set_enqueue_time(Tick time)
bool functionalWrite(Packet *pkt)
virtual flit * serialize(int ser_id, int parts, uint32_t bWidth)
virtual bool functionalWrite(Packet *pkt)=0
Generated on Wed Sep 30 2020 14:02:13 for gem5 by doxygen 1.8.17