summaryrefslogtreecommitdiff
path: root/compiler/driver/compiler_driver.h
diff options
context:
space:
mode:
author Mathieu Chartier <mathieuc@google.com> 2014-12-04 02:28:28 +0000
committer Gerrit Code Review <noreply-gerritcodereview@google.com> 2014-12-04 02:28:28 +0000
commit31bacb9da9c931aa04489b0701172c4a35a20e31 (patch)
tree08a8bf01ddfc0fd3a012faac2b49fafa5853e56f /compiler/driver/compiler_driver.h
parent8b9a97e8b6ed97ff1991596cbd0f7ce78f004766 (diff)
parentab972ef472001fa113d54486d7592979e33480b3 (diff)
Merge "Remove method verification results right after compiling a method"
Diffstat (limited to 'compiler/driver/compiler_driver.h')
-rw-r--r--compiler/driver/compiler_driver.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/compiler/driver/compiler_driver.h b/compiler/driver/compiler_driver.h
index d837dbc9cd..615e0d0db4 100644
--- a/compiler/driver/compiler_driver.h
+++ b/compiler/driver/compiler_driver.h
@@ -39,6 +39,7 @@
#include "thread_pool.h"
#include "utils/arena_allocator.h"
#include "utils/dedupe_set.h"
+#include "dex/verified_method.h"
namespace art {
@@ -398,6 +399,9 @@ class CompilerDriver {
// Should the compiler run on this method given profile information?
bool SkipCompilation(const std::string& method_name);
+ // Get memory usage during compilation.
+ std::string GetMemoryUsageString() const;
+
private:
// These flags are internal to CompilerDriver for collecting INVOKE resolution statistics.
// The only external contract is that unresolved method has flags 0 and resolved non-0.