diff options
Diffstat (limited to 'src/mem/ruby/network/simple/PerfectSwitch.cc')
-rw-r--r-- | src/mem/ruby/network/simple/PerfectSwitch.cc | 35 |
1 files changed, 3 insertions, 32 deletions
diff --git a/src/mem/ruby/network/simple/PerfectSwitch.cc b/src/mem/ruby/network/simple/PerfectSwitch.cc index ecfe12f15..d2f05e1b0 100644 --- a/src/mem/ruby/network/simple/PerfectSwitch.cc +++ b/src/mem/ruby/network/simple/PerfectSwitch.cc @@ -102,34 +102,6 @@ PerfectSwitch::addOutPort(const vector<MessageBuffer*>& out, m_routing_table.push_back(routing_table_entry); } -void -PerfectSwitch::clearRoutingTables() -{ - m_routing_table.clear(); -} - -void -PerfectSwitch::clearBuffers() -{ - for (int i = 0; i < m_in.size(); i++){ - for(int vnet = 0; vnet < m_virtual_networks; vnet++) { - m_in[i][vnet]->clear(); - } - } - - for (int i = 0; i < m_out.size(); i++){ - for(int vnet = 0; vnet < m_virtual_networks; vnet++) { - m_out[i][vnet]->clear(); - } - } -} - -void -PerfectSwitch::reconfigureOutPort(const NetDest& routing_table_entry) -{ - m_routing_table.push_back(routing_table_entry); -} - PerfectSwitch::~PerfectSwitch() { } @@ -329,16 +301,15 @@ PerfectSwitch::storeEventInfo(int info) } void -PerfectSwitch::printStats(std::ostream& out) const +PerfectSwitch::clearStats() { - out << "PerfectSwitch printStats" << endl; } - void -PerfectSwitch::clearStats() +PerfectSwitch::collateStats() { } + void PerfectSwitch::print(std::ostream& out) const { |