changeset 10510cc7bb9f in /z/repo/m5
details: http://repo.m5sim.org/m5?cmd=changeset;node=10510cc7bb9f
description:
garnet: Added topology print function to Garnet printStats
diffstat:
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(+), 0 deletions(-)
diffs (22 lines):
diff -r 2e8e5bb0b4c2 -r 10510cc7bb9f
src/mem/ruby/network/garnet/fixed-pipeline/GarnetNetwork_d.cc
--- a/src/mem/ruby/network/garnet/fixed-pipeline/GarnetNetwork_d.cc Thu Jul
08 16:18:20 2010 -0700
+++ b/src/mem/ruby/network/garnet/fixed-pipeline/GarnetNetwork_d.cc Thu Jul
08 16:18:20 2010 -0700
@@ -323,6 +323,7 @@
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 -r 2e8e5bb0b4c2 -r 10510cc7bb9f
src/mem/ruby/network/garnet/flexible-pipeline/GarnetNetwork.cc
--- a/src/mem/ruby/network/garnet/flexible-pipeline/GarnetNetwork.cc Thu Jul
08 16:18:20 2010 -0700
+++ b/src/mem/ruby/network/garnet/flexible-pipeline/GarnetNetwork.cc Thu Jul
08 16:18:20 2010 -0700
@@ -261,6 +261,7 @@
" flits/cycle" << endl;
}
out << "-------------" << endl;
+ m_topology_ptr->printStats(out);
}
void
_______________________________________________
m5-dev mailing list
[email protected]
http://m5sim.org/mailman/listinfo/m5-dev