From: Brad Beckmann Date: Thu, 8 Jul 2010 23:18:20 +0000 (-0700) Subject: garnet: Added topology print function to Garnet printStats X-Git-Tag: stable_2012_02_02~997 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=a03c1cd6e096f0640c50ef877790cf7fc626aaff;p=gem5.git garnet: Added topology print function to Garnet printStats --- 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