gem5
|
#include <flit.hh>
Public Member Functions | |
flit () | |
flit (int id, int vc, int vnet, RouteInfo route, int size, MsgPtr msg_ptr, Cycles curTime) | |
int | get_outport () |
int | get_size () |
Cycles | get_enqueue_time () |
Cycles | get_dequeue_time () |
int | get_id () |
Cycles | get_time () |
int | get_vnet () |
int | get_vc () |
RouteInfo | get_route () |
MsgPtr & | get_msg_ptr () |
flit_type | get_type () |
std::pair< flit_stage, Cycles > | get_stage () |
Cycles | get_src_delay () |
void | set_outport (int port) |
void | set_time (Cycles time) |
void | set_vc (int vc) |
void | set_route (RouteInfo route) |
void | set_src_delay (Cycles delay) |
void | set_dequeue_time (Cycles time) |
void | increment_hops () |
void | print (std::ostream &out) const |
bool | is_stage (flit_stage stage, Cycles time) |
void | advance_stage (flit_stage t_stage, Cycles newTime) |
bool | functionalWrite (Packet *pkt) |
Static Public Member Functions | |
static bool | greater (flit *n1, flit *n2) |
Protected Attributes | |
int | m_id |
int | m_vnet |
int | m_vc |
RouteInfo | m_route |
int | m_size |
Cycles | m_enqueue_time |
Cycles | m_dequeue_time |
Cycles | m_time |
flit_type | m_type |
MsgPtr | m_msg_ptr |
int | m_outport |
Cycles | src_delay |
std::pair< flit_stage, Cycles > | m_stage |
Definition at line 37 of file flit.cc.
References BODY_, HEAD_, HEAD_TAIL_, I_, SparcISA::id, m_dequeue_time, m_enqueue_time, m_id, m_msg_ptr, m_route, m_size, m_stage, m_time, m_type, m_vc, m_vnet, X86ISA::size(), and TAIL_.
|
inline |
Definition at line 83 of file flit.hh.
References m_stage.
Referenced by SwitchAllocator::arbitrate_outports(), CrossbarSwitch::wakeup(), and InputUnit::wakeup().
bool flit::functionalWrite | ( | Packet * | pkt | ) |
Definition at line 82 of file flit.cc.
References Message::functionalWrite(), and m_msg_ptr.
|
inline |
Definition at line 54 of file flit.hh.
References m_dequeue_time.
Referenced by NetworkInterface::incrementStats().
|
inline |
Definition at line 53 of file flit.hh.
References m_enqueue_time.
Referenced by NetworkInterface::incrementStats().
|
inline |
|
inline |
Definition at line 60 of file flit.hh.
References m_msg_ptr.
Referenced by NetworkInterface::checkStallQueue(), and NetworkInterface::wakeup().
|
inline |
Definition at line 51 of file flit.hh.
References m_outport.
Referenced by CrossbarSwitch::wakeup().
|
inline |
Definition at line 59 of file flit.hh.
References m_route.
Referenced by NetworkInterface::incrementStats(), and InputUnit::wakeup().
|
inline |
Definition at line 63 of file flit.hh.
References src_delay.
Referenced by NetworkInterface::incrementStats().
|
inline |
|
inline |
Definition at line 56 of file flit.hh.
References m_time.
Referenced by greater(), and flitBuffer::isReady().
|
inline |
Definition at line 61 of file flit.hh.
References m_type.
Referenced by SwitchAllocator::arbitrate_outports(), NetworkInterface::incrementStats(), NetworkInterface::scheduleOutputLink(), InputUnit::wakeup(), and NetworkInterface::wakeup().
|
inline |
Definition at line 58 of file flit.hh.
References m_vc.
Referenced by NetworkInterface::sendCredit(), InputUnit::wakeup(), OutputUnit::wakeup(), NetworkLink::wakeup(), and NetworkInterface::wakeup().
|
inline |
Definition at line 57 of file flit.hh.
References m_vnet.
Referenced by NetworkInterface::checkStallQueue(), NetworkInterface::incrementStats(), and NetworkInterface::wakeup().
Definition at line 90 of file flit.hh.
References get_id(), and get_time().
Referenced by flitBuffer::getTopFlit(), and flitBuffer::insert().
|
inline |
Definition at line 72 of file flit.hh.
References RouteInfo::hops_traversed, and m_route.
Referenced by InputUnit::wakeup().
|
inline |
Definition at line 76 of file flit.hh.
References m_stage.
Referenced by VirtualChannel::need_stage(), and CrossbarSwitch::wakeup().
void flit::print | ( | std::ostream & | out | ) | const |
Definition at line 66 of file flit.cc.
References RouteInfo::dest_ni, RouteInfo::dest_router, m_enqueue_time, m_id, m_route, m_type, m_vc, m_vnet, RouteInfo::src_ni, and RouteInfo::src_router.
Referenced by operator<<().
|
inline |
Definition at line 70 of file flit.hh.
References m_dequeue_time.
Referenced by NetworkInterface::wakeup().
|
inline |
Definition at line 65 of file flit.hh.
References m_outport.
Referenced by SwitchAllocator::arbitrate_outports().
|
inline |
|
inline |
Definition at line 69 of file flit.hh.
References src_delay.
Referenced by NetworkInterface::flitisizeMessage().
|
inline |
Definition at line 66 of file flit.hh.
References m_time.
Referenced by NetworkInterface::scheduleOutputLink(), CrossbarSwitch::wakeup(), and NetworkLink::wakeup().
|
inline |
Definition at line 67 of file flit.hh.
References m_vc.
Referenced by SwitchAllocator::arbitrate_outports().
|
protected |
Definition at line 108 of file flit.hh.
Referenced by flit(), get_dequeue_time(), and set_dequeue_time().
|
protected |
Definition at line 108 of file flit.hh.
Referenced by flit(), get_enqueue_time(), and print().
|
protected |
|
protected |
Definition at line 110 of file flit.hh.
Referenced by flit(), functionalWrite(), and get_msg_ptr().
|
protected |
Definition at line 111 of file flit.hh.
Referenced by get_outport(), and set_outport().
|
protected |
Definition at line 106 of file flit.hh.
Referenced by flit(), get_route(), increment_hops(), print(), and set_route().
|
protected |
Definition at line 107 of file flit.hh.
Referenced by flit(), and get_size().
|
protected |
Definition at line 113 of file flit.hh.
Referenced by advance_stage(), flit(), get_stage(), and is_stage().
|
protected |
Definition at line 108 of file flit.hh.
Referenced by Credit::Credit(), flit(), get_time(), and set_time().
|
protected |
Definition at line 109 of file flit.hh.
Referenced by flit(), get_type(), and print().
|
protected |
|
protected |
Definition at line 104 of file flit.hh.
Referenced by flit(), get_vnet(), and print().
|
protected |
Definition at line 112 of file flit.hh.
Referenced by get_src_delay(), and set_src_delay().