gem5  v20.1.0.0
Public Types | Public Member Functions | Public Attributes | Protected Attributes | Private Member Functions | Private Attributes | List of all members
GarnetNetwork Class Reference

#include <GarnetNetwork.hh>

Inheritance diagram for GarnetNetwork:
Network ClockedObject SimObject Clocked EventManager Serializable Drainable Stats::Group

Public Types

typedef GarnetNetworkParams Params
 
- Public Types inherited from Network
typedef RubyNetworkParams Params
 
- Public Types inherited from ClockedObject
typedef ClockedObjectParams Params
 Parameters of ClockedObject. More...
 
- Public Types inherited from 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. More...
 
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)
 
uint32_t functionalWrite (Packet *pkt)
 Function for performing a functional write. More...
 
void collateStats ()
 
void regStats ()
 Callback to set stat parameters. More...
 
void resetStats ()
 Callback to reset stats. More...
 
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)
 
- Public Member Functions inherited from Network
 Network (const Params *p)
 
const Paramsparams () const
 
virtual ~Network ()
 
void init () override
 init() is called after all C++ SimObjects have been created and all ports are connected. More...
 
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. More...
 
PortgetPort (const std::string &, PortID idx=InvalidPortID) override
 Get a port with a given name and index. More...
 
NodeID getLocalNodeID (NodeID global_id) const
 
- Public Member Functions inherited from ClockedObject
 ClockedObject (const ClockedObjectParams *p)
 
const Paramsparams () const
 
void serialize (CheckpointOut &cp) const override
 Serialize an object. More...
 
void unserialize (CheckpointIn &cp) override
 Unserialize an object. More...
 
- Public Member Functions inherited from SimObject
const Paramsparams () const
 
 SimObject (const Params *_params)
 
virtual ~SimObject ()
 
virtual const std::string name () const
 
virtual void loadState (CheckpointIn &cp)
 loadState() is called on each SimObject when restoring from a checkpoint. More...
 
virtual void initState ()
 initState() is called on each SimObject when not restoring from a checkpoint. More...
 
virtual void regProbePoints ()
 Register probe points for this object. More...
 
virtual void regProbeListeners ()
 Register probe listeners for this object. More...
 
ProbeManagergetProbeManager ()
 Get the probe manager for this object. More...
 
virtual void startup ()
 startup() is the final initialization call before simulation. More...
 
DrainState drain () override
 Provide a default implementation of the drain interface for objects that don't need draining. More...
 
virtual void memWriteback ()
 Write back dirty buffers to memory using functional writes. More...
 
virtual void memInvalidate ()
 Invalidate the contents of memory buffers. More...
 
void serialize (CheckpointOut &cp) const override
 Serialize an object. More...
 
void unserialize (CheckpointIn &cp) override
 Unserialize an object. More...
 
- Public Member Functions inherited from 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. More...
 
void setCurTick (Tick newVal)
 
 EventManager (EventManager &em)
 Event manger manages events in the event queue. More...
 
 EventManager (EventManager *em)
 
 EventManager (EventQueue *eq)
 
- Public Member Functions inherited from Serializable
 Serializable ()
 
virtual ~Serializable ()
 
void serializeSection (CheckpointOut &cp, const char *name) const
 Serialize an object into a new section. More...
 
void serializeSection (CheckpointOut &cp, const std::string &name) const
 
void unserializeSection (CheckpointIn &cp, const char *name)
 Unserialize an a child object. More...
 
void unserializeSection (CheckpointIn &cp, const std::string &name)
 
- Public Member Functions inherited from Drainable
DrainState drainState () const
 Return the current drain state of an object. More...
 
virtual void notifyFork ()
 Notify a child process of a fork. More...
 
- Public Member Functions inherited from Stats::Group
 Group (Group *parent, const char *name=nullptr)
 Construct a new statistics group. More...
 
virtual ~Group ()
 
virtual void preDumpStats ()
 Callback before stats are dumped. More...
 
void addStat (Stats::Info *info)
 Register a stat with this group. More...
 
const std::map< std::string, Group * > & getStatGroups () const
 Get all child groups associated with this object. More...
 
const std::vector< Info * > & getStats () const
 Get all stats associated with this object. More...
 
void addStatGroup (const char *name, Group *block)
 Add a stat block as a child of this block. More...
 
const InforesolveStat (std::string name) const
 Resolve a stat by its name within this group. More...
 
 Group ()=delete
 
 Group (const Group &)=delete
 
Groupoperator= (const Group &)=delete
 
- Public Member Functions inherited from Clocked
void updateClockPeriod ()
 Update the tick to the current tick. More...
 
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. More...
 
Cycles curCycle () const
 Determine the current cycle, corresponding to a tick aligned to a clock edge. More...
 
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. More...
 
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 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
 
Stats::Vector m_packets_received
 
Stats::Vector m_packets_injected
 
Stats::Vector m_packet_network_latency
 
Stats::Vector m_packet_queueing_latency
 
Stats::Formula m_avg_packet_vnet_latency
 
Stats::Formula m_avg_packet_vqueue_latency
 
Stats::Formula m_avg_packet_network_latency
 
Stats::Formula m_avg_packet_queueing_latency
 
Stats::Formula m_avg_packet_latency
 
Stats::Vector m_flits_received
 
Stats::Vector m_flits_injected
 
Stats::Vector m_flit_network_latency
 
Stats::Vector m_flit_queueing_latency
 
Stats::Formula m_avg_flit_vnet_latency
 
Stats::Formula m_avg_flit_vqueue_latency
 
Stats::Formula m_avg_flit_network_latency
 
Stats::Formula m_avg_flit_queueing_latency
 
Stats::Formula m_avg_flit_latency
 
Stats::Scalar m_total_ext_in_link_utilization
 
Stats::Scalar m_total_ext_out_link_utilization
 
Stats::Scalar m_total_int_link_utilization
 
Stats::Scalar m_average_link_utilization
 
Stats::Vector m_average_vc_load
 
Stats::Scalar m_total_hops
 
Stats::Formula m_avg_hops
 
- Protected Attributes inherited from 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 SimObject
const SimObjectParams * _params
 Cached copy of the object parameters. More...
 
- Protected Attributes inherited from EventManager
EventQueueeventq
 A pointer to this object's event queue. More...
 

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< CreditLink * > m_creditlinks
 
std::vector< NetworkInterface * > m_nis
 

Additional Inherited Members

- Static Public Member Functions inherited from Network
static uint32_t getNumberOfVirtualNetworks ()
 
static uint32_t MessageSizeType_to_int (MessageSizeType size_type)
 
- Static Public Member Functions inherited from SimObject
static void serializeAll (CheckpointOut &cp)
 Serialize all SimObjects in the system. More...
 
static SimObjectfind (const char *name)
 Find the SimObject with the given name and return a pointer to it. More...
 
- Static Public Member Functions inherited from Serializable
static const std::string & currentSection ()
 Gets the fully-qualified name of the active section. More...
 
static void serializeAll (const std::string &cpt_dir)
 Serializes all the SimObjects. More...
 
static void unserializeGlobals (CheckpointIn &cp)
 
- Protected Member Functions inherited from Network
 Network (const Network &obj)
 
Networkoperator= (const Network &obj)
 
- Protected Member Functions inherited from Drainable
 Drainable ()
 
virtual ~Drainable ()
 
virtual void drainResume ()
 Resume execution after a successful drain. More...
 
void signalDrainDone () const
 Signal that an object is drained. More...
 
- Protected Member Functions inherited from Clocked
 Clocked (ClockDomain &clk_domain)
 Create a clocked object and set the clock domain based on the parameters. More...
 
 Clocked (Clocked &)=delete
 
Clockedoperator= (Clocked &)=delete
 
virtual ~Clocked ()
 Virtual destructor due to inheritance. More...
 
void resetClock () const
 Reset the object's clock using the current global tick value. More...
 
virtual void clockPeriodUpdated ()
 A hook subclasses can implement so they can do any extra work that's needed when the clock rate is changed. More...
 
- Static Protected Attributes inherited from 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 50 of file GarnetNetwork.hh.

Member Typedef Documentation

◆ Params

typedef GarnetNetworkParams GarnetNetwork::Params

Definition at line 53 of file GarnetNetwork.hh.

Constructor & Destructor Documentation

◆ GarnetNetwork() [1/2]

GarnetNetwork::GarnetNetwork ( const Params p)

◆ ~GarnetNetwork()

GarnetNetwork::~GarnetNetwork ( )
default

◆ GarnetNetwork() [2/2]

GarnetNetwork::GarnetNetwork ( const GarnetNetwork obj)
private

Member Function Documentation

◆ collateStats()

void GarnetNetwork::collateStats ( )
virtual

◆ functionalWrite()

uint32_t GarnetNetwork::functionalWrite ( Packet pkt)
virtual

Function for performing a functional write.

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

Reimplemented from Network.

Definition at line 566 of file GarnetNetwork.cc.

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

◆ get_router_id()

int GarnetNetwork::get_router_id ( int  ni,
int  vnet 
)

Definition at line 357 of file GarnetNetwork.cc.

References Network::getLocalNodeID(), and m_nis.

Referenced by NetworkInterface::flitisizeMessage().

◆ get_vnet_type()

VNET_type GarnetNetwork::get_vnet_type ( int  vnet)
inline

Definition at line 80 of file GarnetNetwork.hh.

References m_vnet_type.

Referenced by OutVcState::OutVcState().

◆ getBuffersPerCtrlVC()

uint32_t GarnetNetwork::getBuffersPerCtrlVC ( )
inline

Definition at line 70 of file GarnetNetwork.hh.

References m_buffers_per_ctrl_vc.

Referenced by init(), and OutVcState::OutVcState().

◆ getBuffersPerDataVC()

uint32_t GarnetNetwork::getBuffersPerDataVC ( )
inline

Definition at line 69 of file GarnetNetwork.hh.

References m_buffers_per_data_vc.

Referenced by init(), and OutVcState::OutVcState().

◆ getNiFlitSize()

uint32_t GarnetNetwork::getNiFlitSize ( ) const
inline

Definition at line 68 of file GarnetNetwork.hh.

References m_ni_flit_size.

◆ getNumCols()

int GarnetNetwork::getNumCols ( )
inline

Definition at line 65 of file GarnetNetwork.hh.

References m_num_cols.

Referenced by RoutingUnit::outportComputeXY().

◆ getNumRouters()

int GarnetNetwork::getNumRouters ( )

Definition at line 350 of file GarnetNetwork.cc.

References m_routers.

◆ getNumRows()

int GarnetNetwork::getNumRows ( ) const
inline

Definition at line 64 of file GarnetNetwork.hh.

References m_num_rows.

Referenced by init(), and RoutingUnit::outportComputeXY().

◆ getRoutingAlgorithm()

int GarnetNetwork::getRoutingAlgorithm ( ) const
inline

Definition at line 71 of file GarnetNetwork.hh.

References m_routing_algorithm.

Referenced by RoutingUnit::outportCompute().

◆ increment_flit_network_latency()

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

Definition at line 128 of file GarnetNetwork.hh.

References m_flit_network_latency.

Referenced by NetworkInterface::incrementStats().

◆ increment_flit_queueing_latency()

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

Definition at line 134 of file GarnetNetwork.hh.

References m_flit_queueing_latency.

Referenced by NetworkInterface::incrementStats().

◆ increment_injected_flits()

void GarnetNetwork::increment_injected_flits ( int  vnet)
inline

Definition at line 124 of file GarnetNetwork.hh.

References m_flits_injected.

Referenced by NetworkInterface::flitisizeMessage().

◆ increment_injected_packets()

void GarnetNetwork::increment_injected_packets ( int  vnet)
inline

Definition at line 109 of file GarnetNetwork.hh.

References m_packets_injected.

Referenced by NetworkInterface::flitisizeMessage().

◆ increment_packet_network_latency()

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

Definition at line 113 of file GarnetNetwork.hh.

References m_packet_network_latency.

Referenced by NetworkInterface::incrementStats().

◆ increment_packet_queueing_latency()

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

Definition at line 119 of file GarnetNetwork.hh.

References m_packet_queueing_latency.

Referenced by NetworkInterface::incrementStats().

◆ increment_received_flits()

void GarnetNetwork::increment_received_flits ( int  vnet)
inline

Definition at line 125 of file GarnetNetwork.hh.

References m_flits_received.

Referenced by NetworkInterface::incrementStats().

◆ increment_received_packets()

void GarnetNetwork::increment_received_packets ( int  vnet)
inline

Definition at line 110 of file GarnetNetwork.hh.

References m_packets_received.

Referenced by NetworkInterface::incrementStats().

◆ increment_total_hops()

void GarnetNetwork::increment_total_hops ( int  hops)
inline

Definition at line 140 of file GarnetNetwork.hh.

References m_total_hops.

Referenced by NetworkInterface::incrementStats().

◆ init()

void GarnetNetwork::init ( )
virtual

init() is called after all C++ SimObjects have been created and all ports are connected.

Initializations that are independent of unserialization but rely on a fully instantiated and connected SimObject graph should be done here.

Reimplemented from SimObject.

Definition at line 102 of file GarnetNetwork.cc.

References Topology::createLinks(), FaultModel::declare_router(), fault_model, Router::get_id(), Router::get_num_inports(), Router::get_num_outports(), Router::get_vc_per_vnet(), getBuffersPerCtrlVC(), getBuffersPerDataVC(), getNumRows(), ArmISA::i, Network::init(), isFaultModelEnabled(), Network::m_fromNetQueues, m_nis, Network::m_nodes, m_num_cols, m_num_rows, m_routers, Network::m_toNetQueues, Network::m_topology_ptr, Router::printAggregateFaultProbability(), and Router::printFaultVector().

◆ isFaultModelEnabled()

bool GarnetNetwork::isFaultModelEnabled ( ) const
inline

Definition at line 73 of file GarnetNetwork.hh.

References m_enable_fault_model.

Referenced by init().

◆ isVNetOrdered()

bool GarnetNetwork::isVNetOrdered ( int  vnet) const
inline

Definition at line 78 of file GarnetNetwork.hh.

References Network::m_ordered.

Referenced by NetworkInterface::scheduleOutputPort().

◆ makeExtInLink()

void GarnetNetwork::makeExtInLink ( NodeID  src,
SwitchID  dest,
BasicLink link,
std::vector< NetDest > &  routing_table_entry 
)
virtual

◆ makeExtOutLink()

void GarnetNetwork::makeExtOutLink ( SwitchID  src,
NodeID  dest,
BasicLink link,
std::vector< NetDest > &  routing_table_entry 
)
virtual

◆ makeInternalLink()

void GarnetNetwork::makeInternalLink ( SwitchID  src,
SwitchID  dest,
BasicLink link,
std::vector< NetDest > &  routing_table_entry,
PortDirection  src_outport_dirn,
PortDirection  dest_inport_dirn 
)
virtual

◆ operator=()

GarnetNetwork& GarnetNetwork::operator= ( const GarnetNetwork obj)
private

◆ print()

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

Implements Network.

Definition at line 554 of file GarnetNetwork.cc.

Referenced by operator<<().

◆ regStats()

void GarnetNetwork::regStats ( )
virtual

◆ resetStats()

void GarnetNetwork::resetStats ( )
virtual

Callback to reset stats.

Reimplemented from Stats::Group.

Definition at line 540 of file GarnetNetwork.cc.

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

Member Data Documentation

◆ fault_model

FaultModel* GarnetNetwork::fault_model

◆ garnetVersion

const char* GarnetNetwork::garnetVersion = "3.0"

Definition at line 59 of file GarnetNetwork.hh.

Referenced by GarnetNetwork().

◆ m_average_link_utilization

Stats::Scalar GarnetNetwork::m_average_link_utilization
protected

Definition at line 182 of file GarnetNetwork.hh.

Referenced by collateStats(), and regStats().

◆ m_average_vc_load

Stats::Vector GarnetNetwork::m_average_vc_load
protected

Definition at line 183 of file GarnetNetwork.hh.

Referenced by collateStats(), and regStats().

◆ m_avg_flit_latency

Stats::Formula GarnetNetwork::m_avg_flit_latency
protected

Definition at line 177 of file GarnetNetwork.hh.

Referenced by regStats().

◆ m_avg_flit_network_latency

Stats::Formula GarnetNetwork::m_avg_flit_network_latency
protected

Definition at line 175 of file GarnetNetwork.hh.

Referenced by regStats().

◆ m_avg_flit_queueing_latency

Stats::Formula GarnetNetwork::m_avg_flit_queueing_latency
protected

Definition at line 176 of file GarnetNetwork.hh.

Referenced by regStats().

◆ m_avg_flit_vnet_latency

Stats::Formula GarnetNetwork::m_avg_flit_vnet_latency
protected

Definition at line 173 of file GarnetNetwork.hh.

Referenced by regStats().

◆ m_avg_flit_vqueue_latency

Stats::Formula GarnetNetwork::m_avg_flit_vqueue_latency
protected

Definition at line 174 of file GarnetNetwork.hh.

Referenced by regStats().

◆ m_avg_hops

Stats::Formula GarnetNetwork::m_avg_hops
protected

Definition at line 186 of file GarnetNetwork.hh.

Referenced by regStats().

◆ m_avg_packet_latency

Stats::Formula GarnetNetwork::m_avg_packet_latency
protected

Definition at line 166 of file GarnetNetwork.hh.

Referenced by regStats().

◆ m_avg_packet_network_latency

Stats::Formula GarnetNetwork::m_avg_packet_network_latency
protected

Definition at line 164 of file GarnetNetwork.hh.

Referenced by regStats().

◆ m_avg_packet_queueing_latency

Stats::Formula GarnetNetwork::m_avg_packet_queueing_latency
protected

Definition at line 165 of file GarnetNetwork.hh.

Referenced by regStats().

◆ m_avg_packet_vnet_latency

Stats::Formula GarnetNetwork::m_avg_packet_vnet_latency
protected

Definition at line 162 of file GarnetNetwork.hh.

Referenced by regStats().

◆ m_avg_packet_vqueue_latency

Stats::Formula GarnetNetwork::m_avg_packet_vqueue_latency
protected

Definition at line 163 of file GarnetNetwork.hh.

Referenced by regStats().

◆ m_buffers_per_ctrl_vc

uint32_t GarnetNetwork::m_buffers_per_ctrl_vc
protected

Definition at line 151 of file GarnetNetwork.hh.

Referenced by GarnetNetwork(), and getBuffersPerCtrlVC().

◆ m_buffers_per_data_vc

uint32_t GarnetNetwork::m_buffers_per_data_vc
protected

Definition at line 152 of file GarnetNetwork.hh.

Referenced by GarnetNetwork(), and getBuffersPerDataVC().

◆ m_creditlinks

std::vector<CreditLink *> GarnetNetwork::m_creditlinks
private

Definition at line 195 of file GarnetNetwork.hh.

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

◆ m_enable_fault_model

bool GarnetNetwork::m_enable_fault_model
protected

Definition at line 154 of file GarnetNetwork.hh.

Referenced by GarnetNetwork(), and isFaultModelEnabled().

◆ m_flit_network_latency

Stats::Vector GarnetNetwork::m_flit_network_latency
protected

Definition at line 170 of file GarnetNetwork.hh.

Referenced by increment_flit_network_latency(), and regStats().

◆ m_flit_queueing_latency

Stats::Vector GarnetNetwork::m_flit_queueing_latency
protected

Definition at line 171 of file GarnetNetwork.hh.

Referenced by increment_flit_queueing_latency(), and regStats().

◆ m_flits_injected

Stats::Vector GarnetNetwork::m_flits_injected
protected

Definition at line 169 of file GarnetNetwork.hh.

Referenced by increment_injected_flits(), and regStats().

◆ m_flits_received

Stats::Vector GarnetNetwork::m_flits_received
protected

Definition at line 168 of file GarnetNetwork.hh.

Referenced by increment_received_flits(), and regStats().

◆ m_max_vcs_per_vnet

uint32_t GarnetNetwork::m_max_vcs_per_vnet
protected

◆ m_networklinks

std::vector<NetworkLink *> GarnetNetwork::m_networklinks
private

◆ m_ni_flit_size

uint32_t GarnetNetwork::m_ni_flit_size
protected

Definition at line 149 of file GarnetNetwork.hh.

Referenced by GarnetNetwork(), and getNiFlitSize().

◆ m_nis

std::vector<NetworkInterface *> GarnetNetwork::m_nis
private

◆ m_num_cols

int GarnetNetwork::m_num_cols
protected

Definition at line 148 of file GarnetNetwork.hh.

Referenced by getNumCols(), and init().

◆ m_num_rows

int GarnetNetwork::m_num_rows
protected

Definition at line 147 of file GarnetNetwork.hh.

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

◆ m_packet_network_latency

Stats::Vector GarnetNetwork::m_packet_network_latency
protected

Definition at line 159 of file GarnetNetwork.hh.

Referenced by increment_packet_network_latency(), and regStats().

◆ m_packet_queueing_latency

Stats::Vector GarnetNetwork::m_packet_queueing_latency
protected

Definition at line 160 of file GarnetNetwork.hh.

Referenced by increment_packet_queueing_latency(), and regStats().

◆ m_packets_injected

Stats::Vector GarnetNetwork::m_packets_injected
protected

Definition at line 158 of file GarnetNetwork.hh.

Referenced by increment_injected_packets(), and regStats().

◆ m_packets_received

Stats::Vector GarnetNetwork::m_packets_received
protected

Definition at line 157 of file GarnetNetwork.hh.

Referenced by increment_received_packets(), and regStats().

◆ m_routers

std::vector<Router *> GarnetNetwork::m_routers
private

◆ m_routing_algorithm

int GarnetNetwork::m_routing_algorithm
protected

Definition at line 153 of file GarnetNetwork.hh.

Referenced by GarnetNetwork(), and getRoutingAlgorithm().

◆ m_total_ext_in_link_utilization

Stats::Scalar GarnetNetwork::m_total_ext_in_link_utilization
protected

Definition at line 179 of file GarnetNetwork.hh.

Referenced by collateStats(), and regStats().

◆ m_total_ext_out_link_utilization

Stats::Scalar GarnetNetwork::m_total_ext_out_link_utilization
protected

Definition at line 180 of file GarnetNetwork.hh.

Referenced by collateStats(), and regStats().

◆ m_total_hops

Stats::Scalar GarnetNetwork::m_total_hops
protected

Definition at line 185 of file GarnetNetwork.hh.

Referenced by increment_total_hops(), and regStats().

◆ m_total_int_link_utilization

Stats::Scalar GarnetNetwork::m_total_int_link_utilization
protected

Definition at line 181 of file GarnetNetwork.hh.

Referenced by collateStats(), and regStats().

◆ m_vnet_type

std::vector<VNET_type > GarnetNetwork::m_vnet_type
private

Definition at line 192 of file GarnetNetwork.hh.

Referenced by GarnetNetwork(), and get_vnet_type().


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

Generated on Wed Sep 30 2020 14:02:24 for gem5 by doxygen 1.8.17