34 #ifndef __MEM_RUBY_NETWORK_GARNET_FLIT_HH__
35 #define __MEM_RUBY_NETWORK_GARNET_FLIT_HH__
73 void print(std::ostream& out)
const;
78 return (stage ==
m_stage.first &&
124 #endif // __MEM_RUBY_NETWORK_GARNET_FLIT_HH__
void set_dequeue_time(Cycles time)
void set_time(Cycles time)
void set_outport(int port)
Cycles is a wrapper class for representing cycle counts, i.e.
std::shared_ptr< Message > MsgPtr
void set_route(RouteInfo route)
std::pair< flit_stage, Cycles > m_stage
std::pair< flit_stage, Cycles > get_stage()
void set_src_delay(Cycles delay)
bool functionalWrite(Packet *pkt)
Cycles get_dequeue_time()
Defines global host-dependent types: Counter, Tick, and (indirectly) {int,uint}{8,16,32,64}_t.
A Packet is used to encapsulate a transfer between two objects in the memory system (e...
bool is_stage(flit_stage stage, Cycles time)
Cycles get_enqueue_time()
std::ostream & operator<<(std::ostream &out, const flit &obj)
void print(std::ostream &out) const
void advance_stage(flit_stage t_stage, Cycles newTime)
static bool greater(flit *n1, flit *n2)