diff options
author | Calin Juravle <calin@google.com> | 2014-05-30 23:44:11 +0100 |
---|---|---|
committer | Calin Juravle <calin@google.com> | 2014-06-06 12:14:01 +0100 |
commit | c1b643cc6ac45dbd0eabdcd7425c7e86006c27d6 (patch) | |
tree | 250455427da979409a075a2b3197bd43ccd40fe1 /runtime/parsed_options.h | |
parent | bb0b53f58f11c628f077603b56077dfed1a18f11 (diff) | |
download | android_art-c1b643cc6ac45dbd0eabdcd7425c7e86006c27d6.tar.gz android_art-c1b643cc6ac45dbd0eabdcd7425c7e86006c27d6.tar.bz2 android_art-c1b643cc6ac45dbd0eabdcd7425c7e86006c27d6.zip |
Fixed and refactored profiler options handling
- extracted profiler options in a separate class
- switched from system property reading to command line arguments
- added profile based compilation options to CompilerOptions
- removed no longer used kProfile compilation filter
- optimize dex files only if the profiler is enabled
- clean up unused arguments
Bug: 12877748
Bug: 15275634
Change-Id: I37ff68e7694370950ce8db2360562e9058ecebb7
Diffstat (limited to 'runtime/parsed_options.h')
-rw-r--r-- | runtime/parsed_options.h | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/runtime/parsed_options.h b/runtime/parsed_options.h index 25fc12a9dc..a27eec6be4 100644 --- a/runtime/parsed_options.h +++ b/runtime/parsed_options.h @@ -77,13 +77,8 @@ class ParsedOptions { std::string compiler_executable_; std::vector<std::string> compiler_options_; std::vector<std::string> image_compiler_options_; - bool profile_; + ProfilerOptions profiler_options_; std::string profile_output_filename_; - uint32_t profile_period_s_; - uint32_t profile_duration_s_; - uint32_t profile_interval_us_; - double profile_backoff_coefficient_; - bool profile_start_immediately_; ProfilerClockSource profile_clock_source_; bool verify_; InstructionSet image_isa_; |