diff options
author | 2018-11-08 10:28:48 +0000 | |
---|---|---|
committer | 2018-11-08 10:28:48 +0000 | |
commit | 82b67b2ef24a2475e88135ec63aa50270aad0254 (patch) | |
tree | f08befc96a48e721f40f597a13949b7aed68602f /compiler/driver/compiler_options.h | |
parent | b1fcebe160ace50dfd38efae7439640b2ac4268f (diff) | |
parent | 1a2a5cd58b7b667b664a7c20a4887a6cd89b4776 (diff) |
Merge "Move profile compilation info to CompilerOptions."
Diffstat (limited to 'compiler/driver/compiler_options.h')
-rw-r--r-- | compiler/driver/compiler_options.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/compiler/driver/compiler_options.h b/compiler/driver/compiler_options.h index 4a6bbfaae6..77f84820e5 100644 --- a/compiler/driver/compiler_options.h +++ b/compiler/driver/compiler_options.h @@ -42,6 +42,7 @@ class VerifierDepsTest; class DexFile; enum class InstructionSet; class InstructionSetFeatures; +class ProfileCompilationInfo; class CompilerOptions final { public: @@ -218,6 +219,10 @@ class CompilerOptions final { return compile_pic_; } + const ProfileCompilationInfo* GetProfileCompilationInfo() const { + return profile_compilation_info_; + } + bool HasVerboseMethods() const { return !verbose_methods_.empty(); } @@ -370,6 +375,9 @@ class CompilerOptions final { // When using a profile file only the top K% of the profiled samples will be compiled. double top_k_profile_threshold_; + // Info for profile guided compilation. + const ProfileCompilationInfo* profile_compilation_info_; + // Vector of methods to have verbose output enabled for. std::vector<std::string> verbose_methods_; |