summaryrefslogtreecommitdiff
path: root/compiler/optimizing/graph_visualizer.cc
diff options
context:
space:
mode:
authorCalin Juravle <calin@google.com>2017-03-16 19:58:26 -0700
committerCalin Juravle <calin@google.com>2017-03-28 12:38:34 -0700
commit64f45cb014945e982de7ed9eae8189eaebfe94a3 (patch)
treee03409655343a8f7825f21f73635d65d3bb7912e /compiler/optimizing/graph_visualizer.cc
parentae60e48f1077a2221549c733623c25f79733caf0 (diff)
Add --profile mode to the art script
--profile will run dalvikmvm twice. The first run records the profile by replacing the compiler filter with interpret-only and enabling profile saving. The second run will pass the recorded profile to dex2oat using '-Xcompiler-option --profile-file=...'. Test: ./out/host/linux-x86/bin/art --profile --64 -Ximage:$PWD/out/host/linux-x86/framework/core.art -Xusejit:true -Xcompiler-option --compiler-filter=speed -Xcompiler-option --compiler-backend=Optimizing -verbose:oat -Djava.library.path=$PWD/out/x86_64/host/linux-x86/lib64 -cp $PWD/generated/benchmarks.dex benchmarks.ExoPlayerBench.java.ExoPlayerBench Bug: 36032648 Change-Id: I2dbcae43dd2972273511df9e01ebcbdfb1d84372
Diffstat (limited to 'compiler/optimizing/graph_visualizer.cc')
0 files changed, 0 insertions, 0 deletions