Go to the documentation of this file.
32 #ifndef __MEM_RUBY_NETWORK_GARNET_0_GARNETNETWORK_HH__
33 #define __MEM_RUBY_NETWORK_GARNET_0_GARNETNETWORK_HH__
41 #include "params/GarnetNetwork.hh"
106 void print(std::ostream& out)
const;
207 #endif //__MEM_RUBY_NETWORK_GARNET_0_GARNETNETWORK_HH__
void increment_received_flits(int vnet)
Stats::Scalar m_average_link_utilization
void increment_total_hops(int hops)
Stats::Formula m_avg_packet_vnet_latency
void resetStats()
Callback to reset stats.
uint32_t getNiFlitSize() const
std::vector< VNET_type > m_vnet_type
void increment_flit_network_latency(Tick latency, int vnet)
std::vector< NetworkInterface * > m_nis
Stats::Vector m_packet_network_latency
Stats::Vector m_flits_injected
std::ostream & operator<<(std::ostream &out, const GarnetNetwork &obj)
int get_router_id(int ni, int vnet)
void init()
init() is called after all C++ SimObjects have been created and all ports are connected.
Stats::Scalar m_total_ext_out_link_utilization
void makeExtInLink(NodeID src, SwitchID dest, BasicLink *link, std::vector< NetDest > &routing_table_entry)
std::vector< Router * > m_routers
uint64_t Tick
Tick count type.
void increment_packet_queueing_latency(Tick latency, int vnet)
const char * garnetVersion
GarnetNetworkParams Params
uint32_t getBuffersPerCtrlVC()
Stats::Scalar m_total_hops
A vector of scalar stats.
Stats::Vector m_flit_network_latency
void increment_injected_flits(int vnet)
void increment_injected_packets(int vnet)
void increment_received_packets(int vnet)
void increment_packet_network_latency(Tick latency, int vnet)
This is a simple scalar statistic, like a counter.
Stats::Formula m_avg_hops
Stats::Formula m_avg_flit_network_latency
void makeInternalLink(SwitchID src, SwitchID dest, BasicLink *link, std::vector< NetDest > &routing_table_entry, PortDirection src_outport_dirn, PortDirection dest_inport_dirn)
Stats::Formula m_avg_packet_latency
Stats::Vector m_packets_received
Stats::Formula m_avg_packet_vqueue_latency
bool isFaultModelEnabled() const
void increment_flit_queueing_latency(Tick latency, int vnet)
std::vector< bool > m_ordered
void print(std::ostream &out) const
Stats::Scalar m_total_int_link_utilization
bool m_enable_fault_model
uint32_t m_buffers_per_data_vc
int getRoutingAlgorithm() const
void makeExtOutLink(SwitchID src, NodeID dest, BasicLink *link, std::vector< NetDest > &routing_table_entry)
Stats::Formula m_avg_flit_vqueue_latency
GarnetNetwork & operator=(const GarnetNetwork &obj)
bool isVNetOrdered(int vnet) const
uint32_t getBuffersPerDataVC()
Stats::Vector m_flit_queueing_latency
Stats::Vector m_average_vc_load
Stats::Formula m_avg_packet_network_latency
Stats::Formula m_avg_flit_queueing_latency
uint32_t m_max_vcs_per_vnet
A Packet is used to encapsulate a transfer between two objects in the memory system (e....
uint32_t m_buffers_per_ctrl_vc
GarnetNetwork(const Params *p)
Stats::Formula m_avg_flit_latency
std::string PortDirection
Stats::Formula m_avg_flit_vnet_latency
std::vector< CreditLink * > m_creditlinks
void regStats()
Callback to set stat parameters.
Stats::Vector m_packets_injected
Stats::Vector m_flits_received
Stats::Formula m_avg_packet_queueing_latency
Stats::Vector m_packet_queueing_latency
uint32_t functionalWrite(Packet *pkt)
Function for performing a functional write.
VNET_type get_vnet_type(int vnet)
Stats::Scalar m_total_ext_in_link_utilization
std::vector< NetworkLink * > m_networklinks
Generated on Wed Sep 30 2020 14:02:13 for gem5 by doxygen 1.8.17