36#include "debug/RubyNetwork.hh"
55 int num_vnets = (
p.supported_vnets).size();
58 for (
int i = 0;
i < num_vnets;
i++) {
85 DPRINTF(RubyNetwork,
"Woke up to transfer flits from %s\n",
91 DPRINTF(RubyNetwork,
"Transmission will finish at %ld :%s\n",
ClockedObject(const ClockedObjectParams &p)
Tick clockEdge(Cycles cycles=Cycles(0)) const
Determine the tick when a cycle begins, by default the current one, but the argument also enables the...
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....
Consumer(ClockedObject *em, Event::Priority ev_prio=Event::Default_Pri)
void scheduleEvent(Cycles timeDelta)
NetworkLink(const Params &p)
uint32_t functionalWrite(Packet *)
std::vector< unsigned int > m_vc_load
void resetStats()
Callback to reset stats.
ClockedObject * src_object
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
flitBuffer * link_srcQueue
bool functionalRead(Packet *pkt, WriteMask &mask)
Copyright (c) 2024 Arm Limited All rights reserved.
Tick curTick()
The universal simulation clock.