gem5
|
#include <flitBuffer.hh>
Public Member Functions | |
flitBuffer () | |
flitBuffer (int maximum_size) | |
bool | isReady (Cycles curTime) |
bool | isEmpty () |
void | print (std::ostream &out) const |
bool | isFull () |
void | setMaxSize (int maximum) |
int | getSize () const |
flit * | getTopFlit () |
flit * | peekTopFlit () |
void | insert (flit *flt) |
uint32_t | functionalWrite (Packet *pkt) |
Private Attributes | |
std::vector< flit * > | m_buffer |
int | max_size |
Definition at line 44 of file flitBuffer.hh.
flitBuffer::flitBuffer | ( | ) |
Definition at line 36 of file flitBuffer.cc.
flitBuffer::flitBuffer | ( | int | maximum_size | ) |
Definition at line 41 of file flitBuffer.cc.
References max_size.
uint32_t flitBuffer::functionalWrite | ( | Packet * | pkt | ) |
Definition at line 82 of file flitBuffer.cc.
References ArmISA::i, and m_buffer.
Referenced by NetworkLink::functionalWrite(), NetworkInterface::functionalWrite(), VirtualChannel::functionalWrite(), and OutputUnit::functionalWrite().
|
inline |
Definition at line 55 of file flitBuffer.hh.
References m_buffer.
Referenced by NetworkInterface::wakeup().
|
inline |
Definition at line 58 of file flitBuffer.hh.
References ArmISA::f, flit::greater(), and m_buffer.
Referenced by NetworkLink::consumeLink(), VirtualChannel::getTopFlit(), and NetworkLink::wakeup().
|
inline |
Definition at line 73 of file flitBuffer.hh.
References flit::greater(), and m_buffer.
Referenced by InputUnit::increment_credit(), OutputUnit::insert_flit(), VirtualChannel::insertFlit(), NetworkInterface::scheduleOutputLink(), NetworkInterface::sendCredit(), and NetworkLink::wakeup().
bool flitBuffer::isEmpty | ( | ) |
Definition at line 47 of file flitBuffer.cc.
References m_buffer.
bool flitBuffer::isFull | ( | ) |
Definition at line 70 of file flitBuffer.cc.
bool flitBuffer::isReady | ( | Cycles | curTime | ) |
Definition at line 53 of file flitBuffer.cc.
References flit::get_time(), m_buffer, and peekTopFlit().
Referenced by VirtualChannel::isReady(), NetworkLink::isReady(), VirtualChannel::need_stage(), and NetworkLink::wakeup().
|
inline |
Definition at line 67 of file flitBuffer.hh.
References m_buffer.
Referenced by isReady(), VirtualChannel::need_stage(), NetworkLink::peekLink(), and VirtualChannel::peekTopFlit().
void flitBuffer::print | ( | std::ostream & | out | ) | const |
void flitBuffer::setMaxSize | ( | int | maximum | ) |
Definition at line 76 of file flitBuffer.cc.
References max_size.
|
private |
Definition at line 82 of file flitBuffer.hh.
Referenced by functionalWrite(), getSize(), getTopFlit(), insert(), isEmpty(), isFull(), isReady(), peekTopFlit(), and print().
|
private |
Definition at line 83 of file flitBuffer.hh.
Referenced by flitBuffer(), isFull(), and setMaxSize().