gem5
v20.1.0.0
|
#include <flitBuffer.hh>
Public Member Functions | |
flitBuffer () | |
flitBuffer (int maximum_size) | |
bool | isReady (Tick 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 41 of file flitBuffer.hh.
flitBuffer::flitBuffer | ( | ) |
Definition at line 34 of file flitBuffer.cc.
flitBuffer::flitBuffer | ( | int | maximum_size | ) |
Definition at line 39 of file flitBuffer.cc.
References max_size.
uint32_t flitBuffer::functionalWrite | ( | Packet * | pkt | ) |
Definition at line 80 of file flitBuffer.cc.
References ArmISA::i, and m_buffer.
Referenced by NetworkLink::functionalWrite(), VirtualChannel::functionalWrite(), and OutputUnit::functionalWrite().
|
inline |
Definition at line 52 of file flitBuffer.hh.
References m_buffer.
Referenced by NetworkBridge::wakeup().
|
inline |
Definition at line 55 of file flitBuffer.hh.
References ArmISA::f, flit::greater(), and m_buffer.
Referenced by NetworkLink::consumeLink(), VirtualChannel::getTopFlit(), NetworkBridge::wakeup(), and NetworkLink::wakeup().
|
inline |
Definition at line 70 of file flitBuffer.hh.
References flit::greater(), and m_buffer.
Referenced by InputUnit::increment_credit(), OutputUnit::insert_flit(), VirtualChannel::insertFlit(), NetworkBridge::scheduleFlit(), NetworkInterface::scheduleFlit(), NetworkInterface::InputPort::sendCredit(), and NetworkLink::wakeup().
bool flitBuffer::isEmpty | ( | ) |
Definition at line 45 of file flitBuffer.cc.
References m_buffer.
Referenced by NetworkLink::wakeup().
bool flitBuffer::isFull | ( | ) |
Definition at line 68 of file flitBuffer.cc.
bool flitBuffer::isReady | ( | Tick | curTime | ) |
Definition at line 51 of file flitBuffer.cc.
References flit::get_time(), m_buffer, and peekTopFlit().
Referenced by VirtualChannel::isReady(), NetworkLink::isReady(), VirtualChannel::need_stage(), NetworkBridge::wakeup(), and NetworkLink::wakeup().
|
inline |
Definition at line 64 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 74 of file flitBuffer.cc.
References max_size.
|
private |
Definition at line 79 of file flitBuffer.hh.
Referenced by functionalWrite(), getSize(), getTopFlit(), insert(), isEmpty(), isFull(), isReady(), peekTopFlit(), and print().
|
private |
Definition at line 80 of file flitBuffer.hh.
Referenced by flitBuffer(), isFull(), and setMaxSize().