Go to the documentation of this file.
41 #ifndef __MEM_RUBY_NETWORK_SIMPLE_SIMPLENETWORK_HH__
42 #define __MEM_RUBY_NETWORK_SIMPLE_SIMPLENETWORK_HH__
48 #include "params/SimpleNetwork.hh"
89 void print(std::ostream& out)
const;
98 const NetDest& routing_table_entry,
int link_latency);
132 #endif // __MEM_RUBY_NETWORK_SIMPLE_SIMPLENETWORK_HH__
void makeLink(SwitchID src, SwitchID dest, const NetDest &routing_table_entry, int link_latency)
void print(std::ostream &out) const
statistics::Formula * m_msg_bytes[MessageSizeType_NUM]
std::vector< bool > m_ordered
std::string PortDirection
bool isVNetOrdered(int vnet) const
void init()
init() is called after all C++ SimObjects have been created and all ports are connected.
std::ostream & operator<<(std::ostream &os, const BoolVec &myvector)
gem5::ruby::SimpleNetwork::NetworkStats networkStats
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
constexpr uint64_t mask(unsigned nbits)
Generate a 64-bit mask of 'nbits' 1s, right justified.
std::unordered_map< int, Switch * > m_switches
NetworkStats(statistics::Group *parent)
std::vector< MessageBuffer * > m_int_link_buffers
A Packet is used to encapsulate a transfer between two objects in the memory system (e....
void regStats()
Callback to set stat parameters.
void makeExtOutLink(SwitchID src, NodeID dest, BasicLink *link, std::vector< NetDest > &routing_table_entry)
int getEndpointBandwidth()
uint32_t functionalWrite(Packet *pkt)
bool functionalRead(Packet *pkt)
statistics::Formula * m_msg_counts[MessageSizeType_NUM]
SimpleNetwork(const Params &p)
ClockedObjectParams Params
Parameters of ClockedObject.
Reference material can be found at the JEDEC website: UFS standard http://www.jedec....
void makeInternalLink(SwitchID src, SwitchID dest, BasicLink *link, std::vector< NetDest > &routing_table_entry, PortDirection src_outport, PortDirection dst_inport)
SimpleNetwork & operator=(const SimpleNetwork &obj)
Generated on Sun Jul 30 2023 01:56:59 for gem5 by doxygen 1.8.17