From a03c1cd6e096f0640c50ef877790cf7fc626aaff Mon Sep 17 00:00:00 2001 From: Brad Beckmann Date: Thu, 8 Jul 2010 16:18:20 -0700 Subject: [PATCH] garnet: Added topology print function to Garnet printStats --- src/mem/ruby/network/garnet/fixed-pipeline/GarnetNetwork_d.cc | 1 + src/mem/ruby/network/garnet/flexible-pipeline/GarnetNetwork.cc | 1 + 2 files changed, 2 insertions(+) diff --git a/src/mem/ruby/network/garnet/fixed-pipeline/GarnetNetwork_d.cc b/src/mem/ruby/network/garnet/fixed-pipeline/GarnetNetwork_d.cc index 2a392c206..befa09407 100644 --- a/src/mem/ruby/network/garnet/fixed-pipeline/GarnetNetwork_d.cc +++ b/src/mem/ruby/network/garnet/fixed-pipeline/GarnetNetwork_d.cc @@ -323,6 +323,7 @@ GarnetNetwork_d::printStats(ostream& out) const out << "Total Link Power = " << m_total_link_power << " W " << endl; out << "Total Router Power = " << m_total_router_power << " W " <printStats(out); } void diff --git a/src/mem/ruby/network/garnet/flexible-pipeline/GarnetNetwork.cc b/src/mem/ruby/network/garnet/flexible-pipeline/GarnetNetwork.cc index a2b74d8dc..9ce02d63e 100644 --- a/src/mem/ruby/network/garnet/flexible-pipeline/GarnetNetwork.cc +++ b/src/mem/ruby/network/garnet/flexible-pipeline/GarnetNetwork.cc @@ -261,6 +261,7 @@ GarnetNetwork::printStats(ostream& out) const " flits/cycle" << endl; } out << "-------------" << endl; + m_topology_ptr->printStats(out); } void -- 2.30.2