summaryrefslogtreecommitdiff
path: root/src/mem/ruby/profiler/AddressProfiler.hh
diff options
context:
space:
mode:
authorBrad Beckmann <Brad.Beckmann@amd.com>2010-01-29 20:29:21 -0800
committerBrad Beckmann <Brad.Beckmann@amd.com>2010-01-29 20:29:21 -0800
commitcfe41d0a1bc3b778995cd1b22f8d58037300143b (patch)
tree93b720fd86a6a9a79dc4dc2632ff95fd5c0fa0c3 /src/mem/ruby/profiler/AddressProfiler.hh
parent1907e39fd2c30ead9589f0bb6995972cbd0e153f (diff)
downloadgem5-cfe41d0a1bc3b778995cd1b22f8d58037300143b.tar.xz
ruby: Removed RubySystem::getNumberOfSequencers
removed the static function RubySystem::getNumberOfSequencers and replaced it with a python config variable
Diffstat (limited to 'src/mem/ruby/profiler/AddressProfiler.hh')
-rw-r--r--src/mem/ruby/profiler/AddressProfiler.hh3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mem/ruby/profiler/AddressProfiler.hh b/src/mem/ruby/profiler/AddressProfiler.hh
index 24ee2af05..177aa56d6 100644
--- a/src/mem/ruby/profiler/AddressProfiler.hh
+++ b/src/mem/ruby/profiler/AddressProfiler.hh
@@ -53,7 +53,7 @@ template <class KEY_TYPE, class VALUE_TYPE> class Map;
class AddressProfiler {
public:
// Constructors
- AddressProfiler();
+ AddressProfiler(int num_of_sequencers);
// Destructor
~AddressProfiler();
@@ -95,6 +95,7 @@ private:
bool m_hot_lines;
bool m_all_instructions;
+ int m_num_of_sequencers;
};
// Output operator declaration