summaryrefslogtreecommitdiff
path: root/configs
diff options
context:
space:
mode:
authorNilay Vaish <nilay@cs.wisc.edu>2015-10-14 00:29:43 -0500
committerNilay Vaish <nilay@cs.wisc.edu>2015-10-14 00:29:43 -0500
commit4453537eadb177bd7fd8c50e68e7b2baefc3e178 (patch)
tree18127bda5e8e2307862aab4b6326278cfa3b9946 /configs
parentf1b6d1913c8816d4817a437176621dd066d9a47e (diff)
downloadgem5-4453537eadb177bd7fd8c50e68e7b2baefc3e178.tar.xz
ruby: profiler: provide the number of vnets through ruby system
The aim is to ultimately do away with the static function Network::getNumberOfVirtualNetworks().
Diffstat (limited to 'configs')
-rw-r--r--configs/ruby/Ruby.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/configs/ruby/Ruby.py b/configs/ruby/Ruby.py
index 36fe42115..6d78dd89d 100644
--- a/configs/ruby/Ruby.py
+++ b/configs/ruby/Ruby.py
@@ -231,6 +231,7 @@ def create_system(options, full_system, system, piobus = None, dma_ports = []):
if buildEnv['TARGET_ISA'] == "x86":
cpu_seq.pio_slave_port = piobus.master
+ ruby.number_of_virtual_networks = ruby.network.number_of_virtual_networks
ruby._cpu_ports = cpu_sequencers
ruby.num_of_sequencers = len(cpu_sequencers)