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
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
const std::vector< unsigned int > & getVcLoad() const
bool functionalRead(Packet *pkt, WriteMask &mask)
bool isReady(Tick curTime)
ClockedObject declaration and implementation.
Copyright (c) 2024 - Pranith Kumar Copyright (c) 2020 Inria All rights reserved.
uint64_t Tick
Tick count type.