summaryrefslogtreecommitdiff
path: root/src/mem/ruby/profiler
diff options
context:
space:
mode:
authorAndreas Hansson <andreas.hansson@arm.com>2013-02-19 05:56:07 -0500
committerAndreas Hansson <andreas.hansson@arm.com>2013-02-19 05:56:07 -0500
commit319443d42dbed8d6b07b8a2b7a0e565ff5bd8abf (patch)
tree49e9d2efb1b21b93cc825dbcbb2c906cbe71fa31 /src/mem/ruby/profiler
parentb44e0ce52b894fd4eecc9339e213b7a111c2cc1d (diff)
downloadgem5-319443d42dbed8d6b07b8a2b7a0e565ff5bd8abf.tar.xz
scons: Add warning for missing declarations
This patch enables warnings for missing declarations. To avoid issues with SWIG-generated code, the warning is only applied to non-SWIG code.
Diffstat (limited to 'src/mem/ruby/profiler')
-rw-r--r--src/mem/ruby/profiler/AddressProfiler.hh8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/mem/ruby/profiler/AddressProfiler.hh b/src/mem/ruby/profiler/AddressProfiler.hh
index 5bce34bbb..642b5a41a 100644
--- a/src/mem/ruby/profiler/AddressProfiler.hh
+++ b/src/mem/ruby/profiler/AddressProfiler.hh
@@ -92,6 +92,14 @@ class AddressProfiler
int m_num_of_sequencers;
};
+AccessTraceForAddress& lookupTraceForAddress(const Address& addr,
+ AddressProfiler::AddressMap&
+ record_map);
+
+void printSorted(std::ostream& out, int num_of_sequencers,
+ const AddressProfiler::AddressMap &record_map,
+ std::string description);
+
inline std::ostream&
operator<<(std::ostream& out, const AddressProfiler& obj)
{