summaryrefslogtreecommitdiff
path: root/compiler/optimizing/code_generator.cc
diff options
context:
space:
mode:
author Jiakai Zhang <jiakaiz@google.com> 2023-11-28 16:55:47 +0000
committer Jiakai Zhang <jiakaiz@google.com> 2023-11-29 23:55:47 +0000
commit610a5839080aebefc9de95fdc90cdc3d847848b2 (patch)
tree29e42d137128fb5a0ad0b1c11e5cd49b90517d2a /compiler/optimizing/code_generator.cc
parent03144b13b3489be8e5fcde799d08fcf30bd00b19 (diff)
Add a new profman flag --force-merge-and-analyze.
When the flag is set, profman merges profiles even if the difference between before and after the merge doesn't meet the thresholds, and returns `kCompile` if there is any difference or `kSkipCompilationSmallDelta` if there is no difference. The behavior of this flag is the same as --force-merge, except for that it returns different codes to indicate whether there is any difference or not. We can't change the return code of --force-merge because installd on S and T relies on it to be `kSuccess`. Bug: 242170869 Test: m test-art-host-gtest-art_profman_tests Change-Id: I59fdc64a66284ec66c4b7a7c355df9e902dfee00
Diffstat (limited to 'compiler/optimizing/code_generator.cc')
0 files changed, 0 insertions, 0 deletions