Go to the documentation of this file.
29 #ifndef __MEM_RUBY_NETWORK_SIMPLE_SIMPLENETWORK_HH__
30 #define __MEM_RUBY_NETWORK_SIMPLE_SIMPLENETWORK_HH__
36 #include "params/SimpleNetwork.hh"
71 void print(std::ostream& out)
const;
79 const NetDest& routing_table_entry,
int link_latency);
106 #endif // __MEM_RUBY_NETWORK_SIMPLE_SIMPLENETWORK_HH__
void makeExtInLink(NodeID src, SwitchID dest, BasicLink *link, std::vector< NetDest > &routing_table_entry)
void addLink(SwitchID src, SwitchID dest, int link_latency)
const int m_endpoint_bandwidth
SimpleNetwork(const Params *p)
void init()
init() is called after all C++ SimObjects have been created and all ports are connected.
SimpleNetworkParams Params
bool isVNetOrdered(int vnet) const
Stats::Formula m_msg_counts[MessageSizeType_NUM]
bool getAdaptiveRouting()
bool functionalRead(Packet *pkt)
int m_num_connected_buffers
std::vector< MessageBuffer * > m_int_link_buffers
std::ostream & operator<<(std::ostream &out, const SimpleNetwork &obj)
void makeInternalLink(SwitchID src, SwitchID dest, BasicLink *link, std::vector< NetDest > &routing_table_entry, PortDirection src_outport, PortDirection dst_inport)
void makeLink(SwitchID src, SwitchID dest, const NetDest &routing_table_entry, int link_latency)
Stats::Formula m_msg_bytes[MessageSizeType_NUM]
void makeExtOutLink(SwitchID src, NodeID dest, BasicLink *link, std::vector< NetDest > &routing_table_entry)
std::vector< bool > m_ordered
const bool m_adaptive_routing
void print(std::ostream &out) const
SimpleNetwork & operator=(const SimpleNetwork &obj)
int getEndpointBandwidth()
uint32_t functionalWrite(Packet *pkt)
A Packet is used to encapsulate a transfer between two objects in the memory system (e....
std::vector< Switch * > m_switches
std::string PortDirection
void regStats()
Callback to set stat parameters.
Generated on Wed Sep 30 2020 14:02:13 for gem5 by doxygen 1.8.17