34 #ifndef __MEM_RUBY_NETWORK_GARNET_SWITCH_ALLOCATOR_HH__
35 #define __MEM_RUBY_NETWORK_GARNET_SWITCH_ALLOCATOR_HH__
56 void print(std::ostream& out)
const {};
59 bool send_allowed(
int inport,
int invc,
int outport,
int outvc);
88 #endif // __MEM_RUBY_NETWORK_GARNET_SWITCH_ALLOCATOR_HH__
double m_input_arbiter_activity
std::vector< std::vector< bool > > m_port_requests
void arbitrate_outports()
std::vector< std::vector< int > > m_vc_winners
double get_output_arbiter_activity()
void clear_request_vector()
double m_output_arbiter_activity
bool send_allowed(int inport, int invc, int outport, int outvc)
std::vector< InputUnit * > m_input_unit
int vc_allocate(int outport, int inport, int invc)
SwitchAllocator(Router *router)
double get_input_arbiter_activity()
std::vector< int > m_round_robin_inport
std::vector< OutputUnit * > m_output_unit
std::vector< int > m_round_robin_invc
void print(std::ostream &out) const