From 4453537eadb177bd7fd8c50e68e7b2baefc3e178 Mon Sep 17 00:00:00 2001 From: Nilay Vaish Date: Wed, 14 Oct 2015 00:29:43 -0500 Subject: ruby: profiler: provide the number of vnets through ruby system The aim is to ultimately do away with the static function Network::getNumberOfVirtualNetworks(). --- src/mem/ruby/system/RubySystem.py | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) (limited to 'src/mem/ruby/system/RubySystem.py') diff --git a/src/mem/ruby/system/RubySystem.py b/src/mem/ruby/system/RubySystem.py index 5b13f2ea6..358f4dfca 100644 --- a/src/mem/ruby/system/RubySystem.py +++ b/src/mem/ruby/system/RubySystem.py @@ -41,11 +41,13 @@ class RubySystem(ClockedObject): memory_size_bits = Param.UInt32(64, "number of bits that a memory address requires"); - # Profiler related configuration variables - hot_lines = Param.Bool(False, "") - all_instructions = Param.Bool(False, "") - num_of_sequencers = Param.Int("") phys_mem = Param.SimpleMemory(NULL, "") access_backing_store = Param.Bool(False, "Use phys_mem as the functional \ store and only use ruby for timing.") + + # Profiler related configuration variables + hot_lines = Param.Bool(False, "") + all_instructions = Param.Bool(False, "") + num_of_sequencers = Param.Int("") + number_of_virtual_networks = Param.Unsigned("") -- cgit v1.2.3