diff options
author | Brad Beckmann <Brad.Beckmann@amd.com> | 2010-01-29 20:29:20 -0800 |
---|---|---|
committer | Brad Beckmann <Brad.Beckmann@amd.com> | 2010-01-29 20:29:20 -0800 |
commit | 2c9ca672dfe4a204ebe21c73b344d2939c0e0eff (patch) | |
tree | dce0fbc1d40e16ae7ed7f04db5c7e58bbd779698 /src/mem/ruby/profiler/Profiler.py | |
parent | 2a0555470cfc66ab70544e97578c048822ec9282 (diff) | |
download | gem5-2c9ca672dfe4a204ebe21c73b344d2939c0e0eff.tar.xz |
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.
Diffstat (limited to 'src/mem/ruby/profiler/Profiler.py')
-rw-r--r-- | src/mem/ruby/profiler/Profiler.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/mem/ruby/profiler/Profiler.py b/src/mem/ruby/profiler/Profiler.py index 7585d4978..9210c3c0b 100644 --- a/src/mem/ruby/profiler/Profiler.py +++ b/src/mem/ruby/profiler/Profiler.py @@ -6,6 +6,10 @@ class RubyProfiler(SimObject): cxx_class = 'Profiler' hot_lines = Param.Bool(False, "") all_instructions = Param.Bool(False, "") + mem_cntrl_count = Param.Int(0, "") + banks_per_rank = Param.Int("") + ranks_per_dimm = Param.Int("") + dimms_per_channel = Param.Int("") class CacheProfiler(SimObject): type = 'CacheProfiler' |