gem5 v24.0.0.0
|
#include <Credit.hh>
Public Member Functions | |
Credit () | |
Credit (int vc, bool is_free_signal, Tick curTime) | |
flit * | serialize (int ser_id, int parts, uint32_t bWidth) |
flit * | deserialize (int des_id, int num_flits, uint32_t bWidth) |
void | print (std::ostream &out) const |
~Credit () | |
bool | is_free_signal () |
Public Member Functions inherited from gem5::ruby::garnet::flit | |
flit () | |
flit (int packet_id, int id, int vc, int vnet, RouteInfo route, int size, MsgPtr msg_ptr, int MsgSize, uint32_t bWidth, Tick curTime) | |
virtual | ~flit () |
int | get_outport () |
int | get_size () |
Tick | get_enqueue_time () |
Tick | get_dequeue_time () |
int | getPacketID () |
int | get_id () |
Tick | get_time () |
int | get_vnet () |
int | get_vc () |
RouteInfo | get_route () |
MsgPtr & | get_msg_ptr () |
flit_type | get_type () |
std::pair< flit_stage, Tick > | get_stage () |
Tick | get_src_delay () |
void | set_outport (int port) |
void | set_time (Tick time) |
void | set_vc (int vc) |
void | set_route (RouteInfo route) |
void | set_src_delay (Tick delay) |
void | set_dequeue_time (Tick time) |
void | set_enqueue_time (Tick time) |
void | increment_hops () |
bool | is_stage (flit_stage stage, Tick time) |
void | advance_stage (flit_stage t_stage, Tick newTime) |
bool | functionalRead (Packet *pkt, WriteMask &mask) |
bool | functionalWrite (Packet *pkt) |
Private Attributes | |
bool | m_is_free_signal |
Additional Inherited Members | |
Static Public Member Functions inherited from gem5::ruby::garnet::flit | |
static bool | greater (flit *n1, flit *n2) |
Public Attributes inherited from gem5::ruby::garnet::flit | |
uint32_t | m_width |
int | msgSize |
Protected Attributes inherited from gem5::ruby::garnet::flit | |
int | m_packet_id |
int | m_id |
int | m_vnet |
int | m_vc |
RouteInfo | m_route |
int | m_size |
Tick | m_enqueue_time |
Tick | m_dequeue_time |
Tick | m_time |
flit_type | m_type |
MsgPtr | m_msg_ptr |
int | m_outport |
Tick | src_delay |
std::pair< flit_stage, Tick > | m_stage |
|
inline |
Definition at line 57 of file Credit.hh.
Referenced by deserialize(), and serialize().
gem5::ruby::garnet::Credit::Credit | ( | int | vc, |
bool | is_free_signal, | ||
Tick | curTime ) |
Definition at line 48 of file Credit.cc.
References gem5::ruby::garnet::CREDIT_, is_free_signal(), m_is_free_signal, and gem5::ruby::garnet::flit::m_type.
|
virtual |
Reimplemented from gem5::ruby::garnet::flit.
Definition at line 68 of file Credit.cc.
References Credit(), DPRINTF, m_is_free_signal, gem5::ruby::garnet::flit::m_time, and gem5::ruby::garnet::flit::m_vc.
|
inline |
Definition at line 67 of file Credit.hh.
References m_is_free_signal.
Referenced by Credit(), gem5::ruby::garnet::NetworkInterface::wakeup(), and gem5::ruby::garnet::OutputUnit::wakeup().
|
virtual |
Reimplemented from gem5::ruby::garnet::flit.
Definition at line 82 of file Credit.cc.
References m_is_free_signal, gem5::ruby::garnet::flit::m_time, gem5::ruby::garnet::flit::m_type, and gem5::ruby::garnet::flit::m_vc.
|
virtual |
Reimplemented from gem5::ruby::garnet::flit.
Definition at line 56 of file Credit.cc.
References Credit(), DPRINTF, m_is_free_signal, gem5::ruby::garnet::flit::m_time, and gem5::ruby::garnet::flit::m_vc.
|
private |
Definition at line 70 of file Credit.hh.
Referenced by Credit(), deserialize(), is_free_signal(), print(), and serialize().