diff options
Diffstat (limited to 'src/mem/ruby/profiler/Profiler.hh')
-rw-r--r-- | src/mem/ruby/profiler/Profiler.hh | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/mem/ruby/profiler/Profiler.hh b/src/mem/ruby/profiler/Profiler.hh index 5d8650dec..20491cab7 100644 --- a/src/mem/ruby/profiler/Profiler.hh +++ b/src/mem/ruby/profiler/Profiler.hh @@ -46,9 +46,11 @@ #define __MEM_RUBY_PROFILER_PROFILER_HH__ #include <iostream> +#include <map> #include <string> #include <vector> +#include "base/hashmap.hh" #include "mem/protocol/AccessModeType.hh" #include "mem/protocol/AccessType.hh" #include "mem/protocol/CacheRequestType.hh" @@ -70,8 +72,6 @@ class CacheMsg; class AddressProfiler; -template <class KEY_TYPE, class VALUE_TYPE> class Map; - class Profiler : public SimObject, public Consumer { public: @@ -210,10 +210,10 @@ class Profiler : public SimObject, public Consumer Histogram m_average_latency_estimate; - Map<Address, int>* m_watch_address_list_ptr; + m5::hash_set<Address> m_watch_address_set; // counts all initiated cache request including PUTs int m_requests; - Map <std::string, int>* m_requestProfileMap_ptr; + std::map<std::string, int> m_requestProfileMap; //added by SS bool m_hot_lines; |