From 2c9ca672dfe4a204ebe21c73b344d2939c0e0eff Mon Sep 17 00:00:00 2001 From: Brad Beckmann Date: Fri, 29 Jan 2010 20:29:20 -0800 Subject: ruby: Memory Controller Profiler with new config system This patch includes a rather substantial change to the memory controller profiler in order to work with the new configuration system. Most noteably, the mem_cntrl_profiler no longer uses a string map, but instead a vector. Eventually this support should be removed from the main profiler and go into a separate object. Each memory controller should have a pointer to that new mem_cntrl profile object. --- src/mem/ruby/system/MemoryControl.py | 1 + 1 file changed, 1 insertion(+) (limited to 'src/mem/ruby/system/MemoryControl.py') diff --git a/src/mem/ruby/system/MemoryControl.py b/src/mem/ruby/system/MemoryControl.py index 6c8109728..2a83584b3 100644 --- a/src/mem/ruby/system/MemoryControl.py +++ b/src/mem/ruby/system/MemoryControl.py @@ -4,6 +4,7 @@ from m5.SimObject import SimObject class RubyMemoryControl(SimObject): type = 'RubyMemoryControl' cxx_class = 'MemoryControl' + version = Param.Int(""); mem_bus_cycle_multiplier = Param.Int(10, ""); banks_per_rank = Param.Int(8, ""); ranks_per_dimm = Param.Int(2, ""); -- cgit v1.2.3