garnet: Added topology print function to Garnet printStats

This commit is contained in:
Brad Beckmann
2010-07-08 16:18:20 -07:00
parent 2f2962fee3
commit a03c1cd6e0
2 changed files with 2 additions and 0 deletions

View File

@@ -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

View File

@@ -261,6 +261,7 @@ GarnetNetwork::printStats(ostream& out) const
" flits/cycle" << endl;
}
out << "-------------" << endl;
m_topology_ptr->printStats(out);
}
void