summaryrefslogtreecommitdiff
path: root/src/mem/ruby
diff options
context:
space:
mode:
authorBrad Beckmann <Brad.Beckmann@amd.com>2010-07-08 16:18:20 -0700
committerBrad Beckmann <Brad.Beckmann@amd.com>2010-07-08 16:18:20 -0700
commita03c1cd6e096f0640c50ef877790cf7fc626aaff (patch)
tree8abbdd474eb2c42e72341b3f3a30178e101c6a46 /src/mem/ruby
parent2f2962fee376a00e97bdd6453c454503479a6b77 (diff)
downloadgem5-a03c1cd6e096f0640c50ef877790cf7fc626aaff.tar.xz
garnet: Added topology print function to Garnet printStats
Diffstat (limited to 'src/mem/ruby')
-rw-r--r--src/mem/ruby/network/garnet/fixed-pipeline/GarnetNetwork_d.cc1
-rw-r--r--src/mem/ruby/network/garnet/flexible-pipeline/GarnetNetwork.cc1
2 files changed, 2 insertions, 0 deletions
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 " <<endl;
out << "-------------" << endl;
+ m_topology_ptr->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