#include <interface.h>
Public Member Functions | |
Interface () | |
virtual | ~Interface () |
virtual string | toString () const |
virtual void | setup (uint a, uint cr, uint bs)=0 |
virtual void | set_no_credits (int cr)=0 |
virtual void | set_buffer_size (uint cr)=0 |
virtual void | set_no_vcs (uint cr)=0 |
virtual void | process_event (IrisEvent *e)=0 |
virtual string | print_stats ()=0 |
virtual ullint | get_packets_out ()=0 |
virtual ullint | get_packets ()=0 |
virtual ullint | get_flits_out ()=0 |
Public Attributes | |
NetworkComponent * | processor_connection |
IrisLink * | input_connection |
IrisLink * | output_connection |
Definition at line 32 of file interface.h.
Interface::Interface | ( | ) |
Definition at line 31 of file interface.cc.
References NetworkComponent::address, NetworkComponent::interface, and NetworkComponent::type.
Interface::~Interface | ( | ) | [virtual] |
Definition at line 37 of file interface.cc.
virtual ullint Interface::get_flits_out | ( | ) | [pure virtual] |
Implemented in GenericInterfaceNB, and GenericInterfacePhy.
virtual ullint Interface::get_packets | ( | ) | [pure virtual] |
Implemented in GenericInterfaceNB, and GenericInterfacePhy.
virtual ullint Interface::get_packets_out | ( | ) | [pure virtual] |
Implemented in GenericInterfaceNB, and GenericInterfacePhy.
virtual string Interface::print_stats | ( | ) | [pure virtual] |
Implemented in GenericInterfaceNB, and GenericInterfacePhy.
virtual void Interface::process_event | ( | IrisEvent * | e | ) | [pure virtual] |
virtual void Interface::set_buffer_size | ( | uint | cr | ) | [pure virtual] |
Implemented in GenericInterfaceNB, and GenericInterfacePhy.
virtual void Interface::set_no_credits | ( | int | cr | ) | [pure virtual] |
Implemented in GenericInterfaceNB, and GenericInterfacePhy.
virtual void Interface::set_no_vcs | ( | uint | cr | ) | [pure virtual] |
Implemented in GenericInterfaceNB, and GenericInterfacePhy.
Implemented in GenericInterfaceNB.
string Interface::toString | ( | ) | const [virtual] |
Reimplemented from NetworkComponent.
Reimplemented in GenericInterfaceNB, and GenericInterfacePhy.
Definition at line 42 of file interface.cc.
References NetworkComponent::address, input_connection, output_connection, processor_connection, and NetworkComponent::toString().
Definition at line 36 of file interface.h.
Referenced by GenericInterfacePhy::handle_link_arrival(), GenericInterfaceNB::handle_link_arrival(), GenericInterfacePhy::handle_tick_event(), GenericInterfaceNB::handle_tick_event(), and toString().
Definition at line 37 of file interface.h.
Referenced by GenericInterfacePhy::handle_tick_event(), GenericInterfaceNB::handle_tick_event(), and toString().
Definition at line 35 of file interface.h.
Referenced by GenericInterfacePhy::handle_tick_event(), GenericInterfaceNB::handle_tick_event(), and toString().