Go to the documentation of this file.
32 #ifndef __MEM_RUBY_NETWORK_GARNET_0_ROUTER_HH__
33 #define __MEM_RUBY_NETWORK_GARNET_0_ROUTER_HH__
48 #include "params/GarnetRouter.hh"
65 void print(std::ostream& out)
const {};
73 uint32_t consumerVcs);
127 float *aggregate_fault_prob) {
129 aggregate_fault_prob);
157 #endif // __MEM_RUBY_NETWORK_GARNET_0_ROUTER_HH__
InputUnit * getInputUnit(unsigned port)
uint32_t m_virtual_networks
Stats::Scalar m_sw_input_arbiter_activity
OutputUnit * getOutputUnit(unsigned port)
Stats::Scalar m_buffer_reads
void printAggregateFaultProbability(std::ostream &out)
bool fault_vector(int routerID, int temperature, float fault_vector[])
Stats::Scalar m_crossbar_activity
uint32_t get_vc_per_vnet()
SwitchAllocator switchAllocator
CrossbarSwitch crossbarSwitch
void printFaultVector(std::ostream &out)
void schedule_wakeup(Cycles time)
void addInPort(PortDirection inport_dirn, NetworkLink *link, CreditLink *credit_link)
This is a simple scalar statistic, like a counter.
void grant_switch(int inport, flit *t_flit)
int route_compute(RouteInfo route, int inport, PortDirection direction)
std::string getPortDirectionName(PortDirection direction)
GarnetNetwork * m_network_ptr
bool get_aggregate_fault_probability(int temperature, float *aggregate_fault_prob)
GarnetRouterParams Params
void resetStats()
Callback to reset stats.
void init()
init() is called after all C++ SimObjects have been created and all ports are connected.
uint32_t functionalWrite(Packet *)
PortDirection getOutportDirection(int outport)
bool get_fault_vector(int temperature, float fault_vector[])
A Packet is used to encapsulate a transfer between two objects in the memory system (e....
void print(std::ostream &out) const
Cycles is a wrapper class for representing cycle counts, i.e.
std::string PortDirection
Stats::Scalar m_buffer_writes
void addOutPort(PortDirection outport_dirn, NetworkLink *link, std::vector< NetDest > &routing_table_entry, int link_weight, CreditLink *credit_link, uint32_t consumerVcs)
bool fault_prob(int routerID, int temperature, float *aggregate_fault_prob)
void init_net_ptr(GarnetNetwork *net_ptr)
void regStats()
Callback to set stat parameters.
GarnetNetwork * get_net_ptr()
PortDirection getInportDirection(int inport)
Stats::Scalar m_sw_output_arbiter_activity
std::vector< std::shared_ptr< InputUnit > > m_input_unit
std::vector< std::shared_ptr< OutputUnit > > m_output_unit
Generated on Wed Sep 30 2020 14:02:13 for gem5 by doxygen 1.8.17