36 #ifndef __MEM_RUBY_NETWORK_SIMPLE_PERFECTSWITCH_HH__ 37 #define __MEM_RUBY_NETWORK_SIMPLE_PERFECTSWITCH_HH__ 66 {
return csprintf(
"PerfectSwitch-%i", m_switch_id); }
71 const NetDest& routing_table_entry);
77 void storeEventInfo(
int info);
81 void print(std::ostream& out)
const;
88 void operateVnet(
int vnet);
89 void operateMessageBuffer(
MessageBuffer *
b,
int incoming,
int vnet);
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 print(std::ostream &out) const
const SwitchID m_switch_id
std::string csprintf(const char *format, const Args &...args)
std::vector< int > m_pending_message_count
std::vector< LinkOrder > m_link_order
std::vector< std::vector< MessageBuffer * > > m_in
std::vector< std::vector< MessageBuffer * > > m_out
const FlagsType init
This Stat is Initialized.