gem5 v24.0.0.0
Loading...
Searching...
No Matches
gem5::ruby::garnet::GarnetNetwork Class Reference

#include <GarnetNetwork.hh>

Inheritance diagram for gem5::ruby::garnet::GarnetNetwork:
gem5::ruby::Network gem5::ClockedObject gem5::SimObject gem5::Clocked gem5::EventManager gem5::Serializable gem5::Drainable gem5::statistics::Group gem5::Named

Public Types

typedef GarnetNetworkParams Params
 
- Public Types inherited from gem5::ClockedObject
using Params = ClockedObjectParams
 Parameters of ClockedObject.
 
- Public Types inherited from gem5::SimObject
typedef SimObjectParams Params
 

Public Member Functions

 GarnetNetwork (const Params &p)
 
 ~GarnetNetwork ()=default
 
void init ()
 init() is called after all C++ SimObjects have been created and all ports are connected.
 
int getNumRows () const
 
int getNumCols ()
 
uint32_t getNiFlitSize () const
 
uint32_t getBuffersPerDataVC ()
 
uint32_t getBuffersPerCtrlVC ()
 
int getRoutingAlgorithm () const
 
bool isFaultModelEnabled () const
 
bool isVNetOrdered (int vnet) const
 
VNET_type get_vnet_type (int vnet)
 
int getNumRouters ()
 
int get_router_id (int ni, int vnet)
 
void makeExtOutLink (SwitchID src, NodeID dest, BasicLink *link, std::vector< NetDest > &routing_table_entry)
 
void makeExtInLink (NodeID src, SwitchID dest, BasicLink *link, std::vector< NetDest > &routing_table_entry)
 
void makeInternalLink (SwitchID src, SwitchID dest, BasicLink *link, std::vector< NetDest > &routing_table_entry, PortDirection src_outport_dirn, PortDirection dest_inport_dirn)
 
bool functionalRead (Packet *pkt, WriteMask &mask)
 
uint32_t functionalWrite (Packet *pkt)
 Function for performing a functional write.
 
void collateStats ()
 
void regStats ()
 Callback to set stat parameters.
 
void resetStats ()
 Callback to reset stats.
 
void print (std::ostream &out) const
 
void increment_injected_packets (int vnet)
 
void increment_received_packets (int vnet)
 
void increment_packet_network_latency (Tick latency, int vnet)
 
void increment_packet_queueing_latency (Tick latency, int vnet)
 
void increment_injected_flits (int vnet)
 
void increment_received_flits (int vnet)
 
void increment_flit_network_latency (Tick latency, int vnet)
 
void increment_flit_queueing_latency (Tick latency, int vnet)
 
void increment_total_hops (int hops)
 
void update_traffic_distribution (RouteInfo route)
 
int getNextPacketID ()
 
- Public Member Functions inherited from gem5::ruby::Network
 PARAMS (RubyNetwork)
 
 Network (const Params &p)
 
virtual ~Network ()
 
int getNumNodes () const
 
void setToNetQueue (NodeID global_id, bool ordered, int netNumber, std::string vnet_type, MessageBuffer *b)
 
virtual void setFromNetQueue (NodeID global_id, bool ordered, int netNumber, std::string vnet_type, MessageBuffer *b)
 
virtual void checkNetworkAllocation (NodeID local_id, bool ordered, int network_num, std::string vnet_type)
 
virtual bool functionalRead (Packet *pkt)
 
NodeID addressToNodeID (Addr addr, MachineType mtype)
 Map an address to the correct NodeID.
 
PortgetPort (const std::string &, PortID idx=InvalidPortID) override
 Get a port with a given name and index.
 
NodeID getLocalNodeID (NodeID global_id) const
 
- Public Member Functions inherited from gem5::ClockedObject
 ClockedObject (const ClockedObjectParams &p)
 
void serialize (CheckpointOut &cp) const override
 Serialize an object.
 
void unserialize (CheckpointIn &cp) override
 Unserialize an object.
 
- Public Member Functions inherited from gem5::SimObject
const Paramsparams () const
 
 SimObject (const Params &p)
 
virtual ~SimObject ()
 
virtual void loadState (CheckpointIn &cp)
 loadState() is called on each SimObject when restoring from a checkpoint.
 
virtual void initState ()
 initState() is called on each SimObject when not restoring from a checkpoint.
 
virtual void regProbePoints ()
 Register probe points for this object.
 
virtual void regProbeListeners ()
 Register probe listeners for this object.
 
ProbeManagergetProbeManager ()
 Get the probe manager for this object.
 
virtual void startup ()
 startup() is the final initialization call before simulation.
 
DrainState drain () override
 Provide a default implementation of the drain interface for objects that don't need draining.
 
virtual void memWriteback ()
 Write back dirty buffers to memory using functional writes.
 
virtual void memInvalidate ()
 Invalidate the contents of memory buffers.
 
void serialize (CheckpointOut &cp) const override
 Serialize an object.
 
void unserialize (CheckpointIn &cp) override
 Unserialize an object.
 
- Public Member Functions inherited from gem5::EventManager
EventQueueeventQueue () const
 
void schedule (Event &event, Tick when)
 
void deschedule (Event &event)
 
void reschedule (Event &event, Tick when, bool always=false)
 
void schedule (Event *event, Tick when)
 
void deschedule (Event *event)
 
void reschedule (Event *event, Tick when, bool always=false)
 
void wakeupEventQueue (Tick when=(Tick) -1)
 This function is not needed by the usual gem5 event loop but may be necessary in derived EventQueues which host gem5 on other schedulers.
 
void setCurTick (Tick newVal)
 
 EventManager (EventManager &em)
 Event manger manages events in the event queue.
 
 EventManager (EventManager *em)
 
 EventManager (EventQueue *eq)
 
- Public Member Functions inherited from gem5::Serializable
 Serializable ()
 
virtual ~Serializable ()
 
void serializeSection (CheckpointOut &cp, const char *name) const
 Serialize an object into a new section.
 
void serializeSection (CheckpointOut &cp, const std::string &name) const
 
void unserializeSection (CheckpointIn &cp, const char *name)
 Unserialize an a child object.
 
void unserializeSection (CheckpointIn &cp, const std::string &name)
 
- Public Member Functions inherited from gem5::Drainable
DrainState drainState () const
 Return the current drain state of an object.
 
virtual void notifyFork ()
 Notify a child process of a fork.
 
- Public Member Functions inherited from gem5::statistics::Group
 Group (Group *parent, const char *name=nullptr)
 Construct a new statistics group.
 
virtual ~Group ()
 
virtual void preDumpStats ()
 Callback before stats are dumped.
 
void addStat (statistics::Info *info)
 Register a stat with this group.
 
const std::map< std::string, Group * > & getStatGroups () const
 Get all child groups associated with this object.
 
const std::vector< Info * > & getStats () const
 Get all stats associated with this object.
 
void addStatGroup (const char *name, Group *block)
 Add a stat block as a child of this block.
 
const InforesolveStat (std::string name) const
 Resolve a stat by its name within this group.
 
void mergeStatGroup (Group *block)
 Merge the contents (stats & children) of a block to this block.
 
 Group ()=delete
 
 Group (const Group &)=delete
 
Groupoperator= (const Group &)=delete
 
- Public Member Functions inherited from gem5::Named
 Named (const std::string &name_)
 
virtual ~Named ()=default
 
virtual std::string name () const
 
- Public Member Functions inherited from gem5::Clocked
void updateClockPeriod ()
 Update the tick to the current tick.
 
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 caller to determine a future cycle.
 
Cycles curCycle () const
 Determine the current cycle, corresponding to a tick aligned to a clock edge.
 
Tick nextCycle () const
 Based on the clock of the object, determine the start tick of the first cycle that is at least one cycle in the future.
 
uint64_t frequency () const
 
Tick clockPeriod () const
 
double voltage () const
 
Cycles ticksToCycles (Tick t) const
 
Tick cyclesToTicks (Cycles c) const
 

Public Attributes

const char * garnetVersion = "3.0"
 
FaultModelfault_model
 
- Public Attributes inherited from gem5::ClockedObject
PowerStatepowerState
 

Protected Attributes

int m_num_rows
 
int m_num_cols
 
uint32_t m_ni_flit_size
 
uint32_t m_max_vcs_per_vnet
 
uint32_t m_buffers_per_ctrl_vc
 
uint32_t m_buffers_per_data_vc
 
int m_routing_algorithm
 
bool m_enable_fault_model
 
statistics::Vector m_packets_received
 
statistics::Vector m_packets_injected
 
statistics::Vector m_packet_network_latency
 
statistics::Vector m_packet_queueing_latency
 
statistics::Formula m_avg_packet_vnet_latency
 
statistics::Formula m_avg_packet_vqueue_latency
 
statistics::Formula m_avg_packet_network_latency
 
statistics::Formula m_avg_packet_queueing_latency
 
statistics::Formula m_avg_packet_latency
 
statistics::Vector m_flits_received
 
statistics::Vector m_flits_injected
 
statistics::Vector m_flit_network_latency
 
statistics::Vector m_flit_queueing_latency
 
statistics::Formula m_avg_flit_vnet_latency
 
statistics::Formula m_avg_flit_vqueue_latency
 
statistics::Formula m_avg_flit_network_latency
 
statistics::Formula m_avg_flit_queueing_latency
 
statistics::Formula m_avg_flit_latency
 
statistics::Scalar m_total_ext_in_link_utilization
 
statistics::Scalar m_total_ext_out_link_utilization
 
statistics::Scalar m_total_int_link_utilization
 
statistics::Scalar m_average_link_utilization
 
statistics::Vector m_average_vc_load
 
statistics::Scalar m_total_hops
 
statistics::Formula m_avg_hops
 
std::vector< std::vector< statistics::Scalar * > > m_data_traffic_distribution
 
std::vector< std::vector< statistics::Scalar * > > m_ctrl_traffic_distribution
 
- Protected Attributes inherited from gem5::ruby::Network
uint32_t m_nodes
 
std::vector< std::string > m_vnet_type_names
 
Topologym_topology_ptr
 
std::vector< std::vector< MessageBuffer * > > m_toNetQueues
 
std::vector< std::vector< MessageBuffer * > > m_fromNetQueues
 
std::vector< bool > m_ordered
 
- Protected Attributes inherited from gem5::SimObject
const SimObjectParams & _params
 Cached copy of the object parameters.
 
- Protected Attributes inherited from gem5::EventManager
EventQueueeventq
 A pointer to this object's event queue.
 

Private Member Functions

 GarnetNetwork (const GarnetNetwork &obj)
 
GarnetNetworkoperator= (const GarnetNetwork &obj)
 

Private Attributes

std::vector< VNET_typem_vnet_type
 
std::vector< Router * > m_routers
 
std::vector< NetworkLink * > m_networklinks
 
std::vector< NetworkBridge * > m_networkbridges
 
std::vector< CreditLink * > m_creditlinks
 
std::vector< NetworkInterface * > m_nis
 
int m_next_packet_id
 

Additional Inherited Members

- Static Public Member Functions inherited from gem5::ruby::Network
static uint32_t getNumberOfVirtualNetworks ()
 
static uint32_t MessageSizeType_to_int (MessageSizeType size_type)
 
- Static Public Member Functions inherited from gem5::SimObject
static void serializeAll (const std::string &cpt_dir)
 Create a checkpoint by serializing all SimObjects in the system.
 
static SimObjectfind (const char *name)
 Find the SimObject with the given name and return a pointer to it.
 
static void setSimObjectResolver (SimObjectResolver *resolver)
 There is a single object name resolver, and it is only set when simulation is restoring from checkpoints.
 
static SimObjectResolvergetSimObjectResolver ()
 There is a single object name resolver, and it is only set when simulation is restoring from checkpoints.
 
- Static Public Member Functions inherited from gem5::Serializable
static const std::string & currentSection ()
 Gets the fully-qualified name of the active section.
 
static void generateCheckpointOut (const std::string &cpt_dir, std::ofstream &outstream)
 Generate a checkpoint file so that the serialization can be routed to it.
 
- Protected Member Functions inherited from gem5::ruby::Network
 Network (const Network &obj)
 
Networkoperator= (const Network &obj)
 
- Protected Member Functions inherited from gem5::Drainable
 Drainable ()
 
virtual ~Drainable ()
 
virtual void drainResume ()
 Resume execution after a successful drain.
 
void signalDrainDone () const
 Signal that an object is drained.
 
- Protected Member Functions inherited from gem5::Clocked
 Clocked (ClockDomain &clk_domain)
 Create a clocked object and set the clock domain based on the parameters.
 
 Clocked (Clocked &)=delete
 
Clockedoperator= (Clocked &)=delete
 
virtual ~Clocked ()
 Virtual destructor due to inheritance.
 
void resetClock () const
 Reset the object's clock using the current global tick value.
 
virtual void clockPeriodUpdated ()
 A hook subclasses can implement so they can do any extra work that's needed when the clock rate is changed.
 
- Static Protected Attributes inherited from gem5::ruby::Network
static uint32_t m_virtual_networks
 
static uint32_t m_control_msg_size
 
static uint32_t m_data_msg_size
 

Detailed Description

Definition at line 61 of file GarnetNetwork.hh.

Member Typedef Documentation

◆ Params

typedef GarnetNetworkParams gem5::ruby::garnet::GarnetNetwork::Params

Definition at line 64 of file GarnetNetwork.hh.

Constructor & Destructor Documentation

◆ GarnetNetwork() [1/2]

◆ ~GarnetNetwork()

gem5::ruby::garnet::GarnetNetwork::~GarnetNetwork ( )
default

◆ GarnetNetwork() [2/2]

gem5::ruby::garnet::GarnetNetwork::GarnetNetwork ( const GarnetNetwork & obj)
private

Member Function Documentation

◆ collateStats()

◆ functionalRead()

bool gem5::ruby::garnet::GarnetNetwork::functionalRead ( Packet * pkt,
WriteMask & mask )
virtual

◆ functionalWrite()

uint32_t gem5::ruby::garnet::GarnetNetwork::functionalWrite ( Packet * pkt)
virtual

Function for performing a functional write.

The return value indicates the number of messages that were written.

Reimplemented from gem5::ruby::Network.

Definition at line 646 of file GarnetNetwork.cc.

References gem5::ArmISA::i, m_networklinks, m_nis, and m_routers.

◆ get_router_id()

int gem5::ruby::garnet::GarnetNetwork::get_router_id ( int ni,
int vnet )

◆ get_vnet_type()

VNET_type gem5::ruby::garnet::GarnetNetwork::get_vnet_type ( int vnet)
inline

Definition at line 91 of file GarnetNetwork.hh.

References m_vnet_type.

Referenced by gem5::ruby::garnet::OutVcState::OutVcState().

◆ getBuffersPerCtrlVC()

uint32_t gem5::ruby::garnet::GarnetNetwork::getBuffersPerCtrlVC ( )
inline

Definition at line 81 of file GarnetNetwork.hh.

References m_buffers_per_ctrl_vc.

Referenced by init(), and gem5::ruby::garnet::OutVcState::OutVcState().

◆ getBuffersPerDataVC()

uint32_t gem5::ruby::garnet::GarnetNetwork::getBuffersPerDataVC ( )
inline

Definition at line 80 of file GarnetNetwork.hh.

References m_buffers_per_data_vc.

Referenced by init(), and gem5::ruby::garnet::OutVcState::OutVcState().

◆ getNextPacketID()

int gem5::ruby::garnet::GarnetNetwork::getNextPacketID ( )
inline

◆ getNiFlitSize()

uint32_t gem5::ruby::garnet::GarnetNetwork::getNiFlitSize ( ) const
inline

Definition at line 79 of file GarnetNetwork.hh.

References m_ni_flit_size.

◆ getNumCols()

int gem5::ruby::garnet::GarnetNetwork::getNumCols ( )
inline

Definition at line 76 of file GarnetNetwork.hh.

References m_num_cols.

Referenced by gem5::ruby::garnet::RoutingUnit::outportComputeXY().

◆ getNumRouters()

int gem5::ruby::garnet::GarnetNetwork::getNumRouters ( )

Definition at line 370 of file GarnetNetwork.cc.

References m_routers.

◆ getNumRows()

int gem5::ruby::garnet::GarnetNetwork::getNumRows ( ) const
inline

Definition at line 75 of file GarnetNetwork.hh.

References m_num_rows.

Referenced by init(), and gem5::ruby::garnet::RoutingUnit::outportComputeXY().

◆ getRoutingAlgorithm()

int gem5::ruby::garnet::GarnetNetwork::getRoutingAlgorithm ( ) const
inline

Definition at line 82 of file GarnetNetwork.hh.

References m_routing_algorithm.

Referenced by gem5::ruby::garnet::RoutingUnit::outportCompute().

◆ increment_flit_network_latency()

void gem5::ruby::garnet::GarnetNetwork::increment_flit_network_latency ( Tick latency,
int vnet )
inline

◆ increment_flit_queueing_latency()

void gem5::ruby::garnet::GarnetNetwork::increment_flit_queueing_latency ( Tick latency,
int vnet )
inline

◆ increment_injected_flits()

void gem5::ruby::garnet::GarnetNetwork::increment_injected_flits ( int vnet)
inline

◆ increment_injected_packets()

void gem5::ruby::garnet::GarnetNetwork::increment_injected_packets ( int vnet)
inline

◆ increment_packet_network_latency()

void gem5::ruby::garnet::GarnetNetwork::increment_packet_network_latency ( Tick latency,
int vnet )
inline

◆ increment_packet_queueing_latency()

void gem5::ruby::garnet::GarnetNetwork::increment_packet_queueing_latency ( Tick latency,
int vnet )
inline

◆ increment_received_flits()

void gem5::ruby::garnet::GarnetNetwork::increment_received_flits ( int vnet)
inline

Definition at line 137 of file GarnetNetwork.hh.

References m_flits_received.

Referenced by gem5::ruby::garnet::NetworkInterface::incrementStats().

◆ increment_received_packets()

void gem5::ruby::garnet::GarnetNetwork::increment_received_packets ( int vnet)
inline

◆ increment_total_hops()

void gem5::ruby::garnet::GarnetNetwork::increment_total_hops ( int hops)
inline

Definition at line 152 of file GarnetNetwork.hh.

References m_total_hops.

Referenced by gem5::ruby::garnet::NetworkInterface::incrementStats().

◆ init()

◆ isFaultModelEnabled()

bool gem5::ruby::garnet::GarnetNetwork::isFaultModelEnabled ( ) const
inline

Definition at line 84 of file GarnetNetwork.hh.

References m_enable_fault_model.

Referenced by init().

◆ isVNetOrdered()

bool gem5::ruby::garnet::GarnetNetwork::isVNetOrdered ( int vnet) const
inline

◆ makeExtInLink()

◆ makeExtOutLink()

◆ makeInternalLink()

◆ operator=()

GarnetNetwork & gem5::ruby::garnet::GarnetNetwork::operator= ( const GarnetNetwork & obj)
private

◆ print()

void gem5::ruby::garnet::GarnetNetwork::print ( std::ostream & out) const
virtual

Implements gem5::ruby::Network.

Definition at line 600 of file GarnetNetwork.cc.

Referenced by gem5::ruby::garnet::operator<<().

◆ regStats()

void gem5::ruby::garnet::GarnetNetwork::regStats ( )
virtual

Callback to set stat parameters.

This callback is typically used for complex stats (e.g., distributions) that need parameters in addition to a name and a description. Stat names and descriptions should typically be set from the constructor usingo from the constructor using the ADD_STAT macro.

Reimplemented from gem5::statistics::Group.

Definition at line 385 of file GarnetNetwork.cc.

References gem5::csprintf(), gem5::statistics::DataWrap< Derived, InfoProxyType >::flags(), gem5::ArmISA::i, gem5::statistics::VectorBase< Derived, Stor >::init(), m_average_link_utilization, m_average_vc_load, m_avg_flit_latency, m_avg_flit_network_latency, m_avg_flit_queueing_latency, m_avg_flit_vnet_latency, m_avg_flit_vqueue_latency, m_avg_hops, m_avg_packet_latency, m_avg_packet_network_latency, m_avg_packet_queueing_latency, m_avg_packet_vnet_latency, m_avg_packet_vqueue_latency, m_ctrl_traffic_distribution, m_data_traffic_distribution, m_flit_network_latency, m_flit_queueing_latency, m_flits_injected, m_flits_received, m_max_vcs_per_vnet, m_packet_network_latency, m_packet_queueing_latency, m_packets_injected, m_packets_received, m_routers, m_total_ext_in_link_utilization, m_total_ext_out_link_utilization, m_total_hops, m_total_int_link_utilization, gem5::ruby::Network::m_virtual_networks, gem5::Named::name(), gem5::statistics::DataWrap< Derived, InfoProxyType >::name(), gem5::statistics::nozero, gem5::statistics::oneline, gem5::statistics::pdf, gem5::statistics::Group::regStats(), gem5::statistics::DataWrapVec< Derived, InfoProxyType >::subname(), gem5::RiscvISA::sum, and gem5::statistics::total.

◆ resetStats()

void gem5::ruby::garnet::GarnetNetwork::resetStats ( )
virtual

Callback to reset stats.

Reimplemented from gem5::statistics::Group.

Definition at line 586 of file GarnetNetwork.cc.

References gem5::ArmISA::i, m_creditlinks, m_networklinks, and m_routers.

◆ update_traffic_distribution()

Member Data Documentation

◆ fault_model

◆ garnetVersion

const char* gem5::ruby::garnet::GarnetNetwork::garnetVersion = "3.0"

Definition at line 70 of file GarnetNetwork.hh.

Referenced by GarnetNetwork().

◆ m_average_link_utilization

statistics::Scalar gem5::ruby::garnet::GarnetNetwork::m_average_link_utilization
protected

Definition at line 197 of file GarnetNetwork.hh.

Referenced by collateStats(), and regStats().

◆ m_average_vc_load

statistics::Vector gem5::ruby::garnet::GarnetNetwork::m_average_vc_load
protected

Definition at line 198 of file GarnetNetwork.hh.

Referenced by collateStats(), and regStats().

◆ m_avg_flit_latency

statistics::Formula gem5::ruby::garnet::GarnetNetwork::m_avg_flit_latency
protected

Definition at line 192 of file GarnetNetwork.hh.

Referenced by regStats().

◆ m_avg_flit_network_latency

statistics::Formula gem5::ruby::garnet::GarnetNetwork::m_avg_flit_network_latency
protected

Definition at line 190 of file GarnetNetwork.hh.

Referenced by regStats().

◆ m_avg_flit_queueing_latency

statistics::Formula gem5::ruby::garnet::GarnetNetwork::m_avg_flit_queueing_latency
protected

Definition at line 191 of file GarnetNetwork.hh.

Referenced by regStats().

◆ m_avg_flit_vnet_latency

statistics::Formula gem5::ruby::garnet::GarnetNetwork::m_avg_flit_vnet_latency
protected

Definition at line 188 of file GarnetNetwork.hh.

Referenced by regStats().

◆ m_avg_flit_vqueue_latency

statistics::Formula gem5::ruby::garnet::GarnetNetwork::m_avg_flit_vqueue_latency
protected

Definition at line 189 of file GarnetNetwork.hh.

Referenced by regStats().

◆ m_avg_hops

statistics::Formula gem5::ruby::garnet::GarnetNetwork::m_avg_hops
protected

Definition at line 201 of file GarnetNetwork.hh.

Referenced by regStats().

◆ m_avg_packet_latency

statistics::Formula gem5::ruby::garnet::GarnetNetwork::m_avg_packet_latency
protected

Definition at line 181 of file GarnetNetwork.hh.

Referenced by regStats().

◆ m_avg_packet_network_latency

statistics::Formula gem5::ruby::garnet::GarnetNetwork::m_avg_packet_network_latency
protected

Definition at line 179 of file GarnetNetwork.hh.

Referenced by regStats().

◆ m_avg_packet_queueing_latency

statistics::Formula gem5::ruby::garnet::GarnetNetwork::m_avg_packet_queueing_latency
protected

Definition at line 180 of file GarnetNetwork.hh.

Referenced by regStats().

◆ m_avg_packet_vnet_latency

statistics::Formula gem5::ruby::garnet::GarnetNetwork::m_avg_packet_vnet_latency
protected

Definition at line 177 of file GarnetNetwork.hh.

Referenced by regStats().

◆ m_avg_packet_vqueue_latency

statistics::Formula gem5::ruby::garnet::GarnetNetwork::m_avg_packet_vqueue_latency
protected

Definition at line 178 of file GarnetNetwork.hh.

Referenced by regStats().

◆ m_buffers_per_ctrl_vc

uint32_t gem5::ruby::garnet::GarnetNetwork::m_buffers_per_ctrl_vc
protected

Definition at line 166 of file GarnetNetwork.hh.

Referenced by GarnetNetwork(), and getBuffersPerCtrlVC().

◆ m_buffers_per_data_vc

uint32_t gem5::ruby::garnet::GarnetNetwork::m_buffers_per_data_vc
protected

Definition at line 167 of file GarnetNetwork.hh.

Referenced by GarnetNetwork(), and getBuffersPerDataVC().

◆ m_creditlinks

std::vector<CreditLink *> gem5::ruby::garnet::GarnetNetwork::m_creditlinks
private

Definition at line 214 of file GarnetNetwork.hh.

Referenced by makeExtInLink(), makeExtOutLink(), makeInternalLink(), and resetStats().

◆ m_ctrl_traffic_distribution

std::vector<std::vector<statistics::Scalar *> > gem5::ruby::garnet::GarnetNetwork::m_ctrl_traffic_distribution
protected

Definition at line 204 of file GarnetNetwork.hh.

Referenced by regStats(), and update_traffic_distribution().

◆ m_data_traffic_distribution

std::vector<std::vector<statistics::Scalar *> > gem5::ruby::garnet::GarnetNetwork::m_data_traffic_distribution
protected

Definition at line 203 of file GarnetNetwork.hh.

Referenced by regStats(), and update_traffic_distribution().

◆ m_enable_fault_model

bool gem5::ruby::garnet::GarnetNetwork::m_enable_fault_model
protected

Definition at line 169 of file GarnetNetwork.hh.

Referenced by GarnetNetwork(), and isFaultModelEnabled().

◆ m_flit_network_latency

statistics::Vector gem5::ruby::garnet::GarnetNetwork::m_flit_network_latency
protected

Definition at line 185 of file GarnetNetwork.hh.

Referenced by increment_flit_network_latency(), and regStats().

◆ m_flit_queueing_latency

statistics::Vector gem5::ruby::garnet::GarnetNetwork::m_flit_queueing_latency
protected

Definition at line 186 of file GarnetNetwork.hh.

Referenced by increment_flit_queueing_latency(), and regStats().

◆ m_flits_injected

statistics::Vector gem5::ruby::garnet::GarnetNetwork::m_flits_injected
protected

Definition at line 184 of file GarnetNetwork.hh.

Referenced by increment_injected_flits(), and regStats().

◆ m_flits_received

statistics::Vector gem5::ruby::garnet::GarnetNetwork::m_flits_received
protected

Definition at line 183 of file GarnetNetwork.hh.

Referenced by increment_received_flits(), and regStats().

◆ m_max_vcs_per_vnet

uint32_t gem5::ruby::garnet::GarnetNetwork::m_max_vcs_per_vnet
protected

◆ m_networkbridges

std::vector<NetworkBridge *> gem5::ruby::garnet::GarnetNetwork::m_networkbridges
private

Definition at line 213 of file GarnetNetwork.hh.

Referenced by functionalRead(), makeExtInLink(), makeExtOutLink(), and makeInternalLink().

◆ m_networklinks

std::vector<NetworkLink *> gem5::ruby::garnet::GarnetNetwork::m_networklinks
private

◆ m_next_packet_id

int gem5::ruby::garnet::GarnetNetwork::m_next_packet_id
private

Definition at line 216 of file GarnetNetwork.hh.

Referenced by GarnetNetwork(), and getNextPacketID().

◆ m_ni_flit_size

uint32_t gem5::ruby::garnet::GarnetNetwork::m_ni_flit_size
protected

Definition at line 164 of file GarnetNetwork.hh.

Referenced by GarnetNetwork(), and getNiFlitSize().

◆ m_nis

std::vector<NetworkInterface *> gem5::ruby::garnet::GarnetNetwork::m_nis
private

◆ m_num_cols

int gem5::ruby::garnet::GarnetNetwork::m_num_cols
protected

Definition at line 163 of file GarnetNetwork.hh.

Referenced by getNumCols(), and init().

◆ m_num_rows

int gem5::ruby::garnet::GarnetNetwork::m_num_rows
protected

Definition at line 162 of file GarnetNetwork.hh.

Referenced by GarnetNetwork(), getNumRows(), and init().

◆ m_packet_network_latency

statistics::Vector gem5::ruby::garnet::GarnetNetwork::m_packet_network_latency
protected

Definition at line 174 of file GarnetNetwork.hh.

Referenced by increment_packet_network_latency(), and regStats().

◆ m_packet_queueing_latency

statistics::Vector gem5::ruby::garnet::GarnetNetwork::m_packet_queueing_latency
protected

Definition at line 175 of file GarnetNetwork.hh.

Referenced by increment_packet_queueing_latency(), and regStats().

◆ m_packets_injected

statistics::Vector gem5::ruby::garnet::GarnetNetwork::m_packets_injected
protected

Definition at line 173 of file GarnetNetwork.hh.

Referenced by increment_injected_packets(), and regStats().

◆ m_packets_received

statistics::Vector gem5::ruby::garnet::GarnetNetwork::m_packets_received
protected

Definition at line 172 of file GarnetNetwork.hh.

Referenced by increment_received_packets(), and regStats().

◆ m_routers

std::vector<Router *> gem5::ruby::garnet::GarnetNetwork::m_routers
private

◆ m_routing_algorithm

int gem5::ruby::garnet::GarnetNetwork::m_routing_algorithm
protected

Definition at line 168 of file GarnetNetwork.hh.

Referenced by GarnetNetwork(), and getRoutingAlgorithm().

◆ m_total_ext_in_link_utilization

statistics::Scalar gem5::ruby::garnet::GarnetNetwork::m_total_ext_in_link_utilization
protected

Definition at line 194 of file GarnetNetwork.hh.

Referenced by collateStats(), and regStats().

◆ m_total_ext_out_link_utilization

statistics::Scalar gem5::ruby::garnet::GarnetNetwork::m_total_ext_out_link_utilization
protected

Definition at line 195 of file GarnetNetwork.hh.

Referenced by collateStats(), and regStats().

◆ m_total_hops

statistics::Scalar gem5::ruby::garnet::GarnetNetwork::m_total_hops
protected

Definition at line 200 of file GarnetNetwork.hh.

Referenced by increment_total_hops(), and regStats().

◆ m_total_int_link_utilization

statistics::Scalar gem5::ruby::garnet::GarnetNetwork::m_total_int_link_utilization
protected

Definition at line 196 of file GarnetNetwork.hh.

Referenced by collateStats(), and regStats().

◆ m_vnet_type

std::vector<VNET_type > gem5::ruby::garnet::GarnetNetwork::m_vnet_type
private

Definition at line 210 of file GarnetNetwork.hh.

Referenced by GarnetNetwork(), get_vnet_type(), and update_traffic_distribution().


The documentation for this class was generated from the following files:

Generated on Tue Jun 18 2024 16:24:22 for gem5 by doxygen 1.11.0