33 #ifndef __MEM_RUBY_NETWORK_GARNET_0_NETWORKLINK_HH__
34 #define __MEM_RUBY_NETWORK_GARNET_0_NETWORKLINK_HH__
42 #include "params/NetworkLink.hh"
68 void print(std::ostream& out)
const {}
The ClockedObject class extends the SimObject with a clock and accessor functions to relate ticks to ...
Cycles is a wrapper class for representing cycle counts, i.e.
A Packet is used to encapsulate a transfer between two objects in the memory system (e....
NetworkLink(const Params &p)
uint32_t functionalWrite(Packet *)
void setType(link_type type)
std::vector< unsigned int > m_vc_load
bool isReady(Tick curTime)
void resetStats()
Callback to reset stats.
ClockedObject * src_object
void print(std::ostream &out) const
std::vector< int > mVnets
const std::vector< unsigned int > & getVcLoad() const
void setLinkConsumer(Consumer *consumer)
void setSourceQueue(flitBuffer *src_queue, ClockedObject *srcClockObject)
virtual void setVcsPerVnet(uint32_t consumerVcs)
unsigned int m_link_utilized
unsigned int getLinkUtilization() const
flitBuffer * link_srcQueue
bool functionalRead(Packet *pkt, WriteMask &mask)
bool isReady(Tick curTime)
ClockedObject declaration and implementation.
constexpr uint64_t mask(unsigned nbits)
Generate a 64-bit mask of 'nbits' 1s, right justified.
Reference material can be found at the JEDEC website: UFS standard http://www.jedec....
uint64_t Tick
Tick count type.