diff options
author | Calin Juravle <calin@google.com> | 2016-01-05 14:29:29 +0000 |
---|---|---|
committer | Calin Juravle <calin@google.com> | 2016-01-19 11:17:24 -0800 |
commit | 877fd963548a3175665bfef25b0d24bc0e5a0135 (patch) | |
tree | db4cae18266f7cd9415a362c21d50fef93a8488f /compiler/common_compiler_test.h | |
parent | 37a5abcf5e7644ae1fd1a85e865c8a71e38a9af2 (diff) |
Improve profile processing
- allow file descriptors in addition to file names for profiles
- fix some minor issues (wrong comparison signs, unhandled errors)
- added gtests for profile_compilation_info, profile_assistant
and compiler_driver
Bug: 26080105
Change-Id: I136039fa1f25858399000049e48b01eafae54eb1
Diffstat (limited to 'compiler/common_compiler_test.h')
-rw-r--r-- | compiler/common_compiler_test.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/compiler/common_compiler_test.h b/compiler/common_compiler_test.h index b491946dc3..7e0fbabff8 100644 --- a/compiler/common_compiler_test.h +++ b/compiler/common_compiler_test.h @@ -23,6 +23,7 @@ #include "common_runtime_test.h" #include "compiler.h" +#include "jit/offline_profiling_info.h" #include "oat_file.h" namespace art { @@ -75,6 +76,8 @@ class CommonCompilerTest : public CommonRuntimeTest { // driver assumes ownership of the set, so the test should properly release the set. virtual std::unordered_set<std::string>* GetCompiledMethods(); + virtual ProfileCompilationInfo* GetProfileCompilationInfo(); + virtual void TearDown(); void CompileClass(mirror::ClassLoader* class_loader, const char* class_name) |