summaryrefslogtreecommitdiff
path: root/compiler/optimizing/codegen_test_utils.h
diff options
context:
space:
mode:
authorCalin Juravle <calin@google.com>2018-02-12 20:27:46 -0800
committerCalin Juravle <calin@google.com>2018-02-13 16:40:15 -0800
commit5f9a8017be9893dc175d1e7bcad59dd80656d49b (patch)
tree3ca3b41eee5aa656edd4b05406278821ba706e29 /compiler/optimizing/codegen_test_utils.h
parent0e09dfc9cbdd6c2510dbe50dba95cf9d2d815e79 (diff)
Expose the optimization status of a dex file
Add a method which exposes the optimization status of a dex file based on its expected runtime behaviour. The method returns the status in an array [compilation filter, compilation reason]. The method will try to mimic the runtime effect of loading the dex file. For example, if there is no usable oat file, the compiler filter will be set to "run-from-apk". This will enable more accurate performance monitoring of apks. Test: oat_file_assistant_test Bug: 73102540 Change-Id: Ida9abef502dcb3fd07e1b0988771fb60e9b2a423
Diffstat (limited to 'compiler/optimizing/codegen_test_utils.h')
0 files changed, 0 insertions, 0 deletions