36 #ifndef __MEM_RUBY_NETWORK_SIMPLE_PERFECTSWITCH_HH__
37 #define __MEM_RUBY_NETWORK_SIMPLE_PERFECTSWITCH_HH__
71 const NetDest& routing_table_entry);
81 void print(std::ostream& out)
const;
117 #endif // __MEM_RUBY_NETWORK_SIMPLE_PERFECTSWITCH_HH__
uint32_t m_virtual_networks
bool operator<(const LinkOrder &l1, const LinkOrder &l2)
SimpleNetwork * m_network_ptr
std::vector< NetDest > m_routing_table
std::ostream & operator<<(std::ostream &out, const PerfectSwitch &obj)
void storeEventInfo(int info)
const SwitchID m_switch_id
PerfectSwitch & operator=(const PerfectSwitch &obj)
std::string csprintf(const char *format, const Args &...args)
std::vector< int > m_pending_message_count
std::vector< LinkOrder > m_link_order
void addOutPort(const std::vector< MessageBuffer * > &out, const NetDest &routing_table_entry)
std::vector< std::vector< MessageBuffer * > > m_in
void init(SimpleNetwork *)
std::vector< std::vector< MessageBuffer * > > m_out
void print(std::ostream &out) const
void operateVnet(int vnet)
PerfectSwitch(SwitchID sid, Switch *, uint32_t)
void addInPort(const std::vector< MessageBuffer * > &in)
void operateMessageBuffer(MessageBuffer *b, int incoming, int vnet)