From fd52a63e24fe047e1dafc48e5da9b4ce1b086c49 Mon Sep 17 00:00:00 2001 From: Andreas Sandberg Date: Thu, 7 Apr 2016 10:42:07 +0100 Subject: Revert to 74c1e6513bd0 (sim: Thermal support for Linux) --- src/mem/ruby/network/garnet/BaseGarnetNetwork.cc | 2 -- src/mem/ruby/network/garnet/fixed-pipeline/Router_d.cc | 2 -- src/mem/ruby/network/simple/SimpleNetwork.cc | 2 -- src/mem/ruby/network/simple/Switch.cc | 2 -- 4 files changed, 8 deletions(-) (limited to 'src/mem/ruby/network') diff --git a/src/mem/ruby/network/garnet/BaseGarnetNetwork.cc b/src/mem/ruby/network/garnet/BaseGarnetNetwork.cc index 2bd2acb9f..1213073e9 100644 --- a/src/mem/ruby/network/garnet/BaseGarnetNetwork.cc +++ b/src/mem/ruby/network/garnet/BaseGarnetNetwork.cc @@ -69,8 +69,6 @@ BaseGarnetNetwork::init() void BaseGarnetNetwork::regStats() { - Network::regStats(); - m_flits_received .init(m_virtual_networks) .name(name() + ".flits_received") diff --git a/src/mem/ruby/network/garnet/fixed-pipeline/Router_d.cc b/src/mem/ruby/network/garnet/fixed-pipeline/Router_d.cc index dab9b7dda..97bc1abdd 100644 --- a/src/mem/ruby/network/garnet/fixed-pipeline/Router_d.cc +++ b/src/mem/ruby/network/garnet/fixed-pipeline/Router_d.cc @@ -158,8 +158,6 @@ Router_d::update_sw_winner(int inport, flit_d *t_flit) void Router_d::regStats() { - BasicRouter::regStats(); - m_buffer_reads .name(name() + ".buffer_reads") .flags(Stats::nozero) diff --git a/src/mem/ruby/network/simple/SimpleNetwork.cc b/src/mem/ruby/network/simple/SimpleNetwork.cc index 2fc7b6440..25d0b6f4b 100644 --- a/src/mem/ruby/network/simple/SimpleNetwork.cc +++ b/src/mem/ruby/network/simple/SimpleNetwork.cc @@ -132,8 +132,6 @@ SimpleNetwork::makeInternalLink(SwitchID src, SwitchID dest, BasicLink* link, void SimpleNetwork::regStats() { - Network::regStats(); - for (MessageSizeType type = MessageSizeType_FIRST; type < MessageSizeType_NUM; ++type) { m_msg_counts[(unsigned int) type] diff --git a/src/mem/ruby/network/simple/Switch.cc b/src/mem/ruby/network/simple/Switch.cc index 78f5b609c..747884f16 100644 --- a/src/mem/ruby/network/simple/Switch.cc +++ b/src/mem/ruby/network/simple/Switch.cc @@ -112,8 +112,6 @@ Switch::getThrottle(LinkID link_number) const void Switch::regStats() { - BasicRouter::regStats(); - for (int link = 0; link < m_throttles.size(); link++) { m_throttles[link]->regStats(name()); } -- cgit v1.2.3