Go to the documentation of this file.
32 #ifndef __MEM_RUBY_STRUCTURES_WIREBUFFER_HH__
33 #define __MEM_RUBY_STRUCTURES_WIREBUFFER_HH__
41 #include "params/RubyWireBuffer.hh"
83 void print(std::ostream& out)
const;
101 #endif // __MEM_RUBY_STRUCTURES_WireBuffer_HH__
RubyWireBufferParams Params
std::string m_description
uint64_t Tick
Tick count type.
void dequeue(Tick current_time)
Consumer * m_consumer_ptr
std::vector< MsgPtr > m_message_queue
WireBuffer(const Params *p)
void print(std::ostream &out) const
std::string getDescription()
std::shared_ptr< Message > MsgPtr
bool isReady(Tick current_time)
void setDescription(const std::string &name)
virtual const std::string name() const
bool areNSlotsAvailable(int n, Tick current_time)
void init()
init() is called after all C++ SimObjects have been created and all ports are connected.
void setConsumer(Consumer *consumer_ptr)
void enqueue(MsgPtr message, Tick current_time, Tick delta)
std::ostream & operator<<(std::ostream &out, const WireBuffer &obj)
void recycle(Tick current_time, Tick recycle_latency)
WireBuffer & operator=(const WireBuffer &obj)
Abstract superclass for simulation objects.
Generated on Wed Sep 30 2020 14:02:13 for gem5 by doxygen 1.8.17