gem5
v20.1.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 flit | |
flit () | |
flit (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 | 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 | functionalWrite (Packet *pkt) |
Private Attributes | |
bool | m_is_free_signal |
Additional Inherited Members | |
Static Public Member Functions inherited from flit | |
static bool | greater (flit *n1, flit *n2) |
Public Attributes inherited from flit | |
uint32_t | m_width |
int | msgSize |
Protected Attributes inherited from flit | |
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 48 of file Credit.hh.
Referenced by deserialize(), and serialize().
Credit::Credit | ( | int | vc, |
bool | is_free_signal, | ||
Tick | curTime | ||
) |
Definition at line 39 of file Credit.cc.
References CREDIT_, is_free_signal(), m_is_free_signal, and flit::m_type.
|
virtual |
Reimplemented from flit.
Definition at line 59 of file Credit.cc.
References Credit(), DPRINTF, m_is_free_signal, flit::m_time, and flit::m_vc.
|
inline |
Definition at line 58 of file Credit.hh.
References m_is_free_signal.
Referenced by Credit(), OutputUnit::wakeup(), and NetworkInterface::wakeup().
|
virtual |
Reimplemented from flit.
Definition at line 73 of file Credit.cc.
References m_is_free_signal, flit::m_time, flit::m_type, and flit::m_vc.
|
virtual |
Reimplemented from flit.
Definition at line 47 of file Credit.cc.
References Credit(), DPRINTF, m_is_free_signal, flit::m_time, and flit::m_vc.
|
private |
Definition at line 61 of file Credit.hh.
Referenced by Credit(), deserialize(), is_free_signal(), print(), and serialize().