diff options
author | Tushar Krishna <tushar@csail.mit.edu> | 2011-03-21 22:51:59 -0400 |
---|---|---|
committer | Tushar Krishna <tushar@csail.mit.edu> | 2011-03-21 22:51:59 -0400 |
commit | 46cce440be4999cfdedebbf190c83570ba9f1b49 (patch) | |
tree | 814477ea1de4ac4fc40d6bfd00764316bb37a45c /src/mem/ruby/network/garnet/fixed-pipeline/Router_d.hh | |
parent | 1b9002eefc39654b18547d7adb77b6fec77d883e (diff) | |
download | gem5-46cce440be4999cfdedebbf190c83570ba9f1b49.tar.xz |
This patch makes garnet use the info about active and inactive vnets during allocation and power estimations etc
Diffstat (limited to 'src/mem/ruby/network/garnet/fixed-pipeline/Router_d.hh')
-rw-r--r-- | src/mem/ruby/network/garnet/fixed-pipeline/Router_d.hh | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mem/ruby/network/garnet/fixed-pipeline/Router_d.hh b/src/mem/ruby/network/garnet/fixed-pipeline/Router_d.hh index b6899ea6b..f7af30ce9 100644 --- a/src/mem/ruby/network/garnet/fixed-pipeline/Router_d.hh +++ b/src/mem/ruby/network/garnet/fixed-pipeline/Router_d.hh @@ -62,6 +62,7 @@ class Router_d int link_weight, CreditLink_d *credit_link); int get_num_vcs() { return m_num_vcs; } + int get_num_vnets() { return m_virtual_networks; } int get_vc_per_vnet() { return m_vc_per_vnet; } int get_num_inports() { return m_input_unit.size(); } int get_num_outports() { return m_output_unit.size(); } |