diff options
author | Ian Rogers <irogers@google.com> | 2013-10-09 15:22:24 -0700 |
---|---|---|
committer | Ian Rogers <irogers@google.com> | 2013-10-09 15:22:24 -0700 |
commit | e732ef1c0192acd71925bd0ff1ab09640d45531d (patch) | |
tree | 7b5f261e88958db19c994329c945b632ee0596fd /dex2oat | |
parent | d50f8c8e4456263e169c9998d3a1c3a6c5c51435 (diff) | |
download | art-e732ef1c0192acd71925bd0ff1ab09640d45531d.zip art-e732ef1c0192acd71925bd0ff1ab09640d45531d.tar.gz art-e732ef1c0192acd71925bd0ff1ab09640d45531d.tar.bz2 |
Make compiler stat dumping easier to use.
Previous needed -verbose:compiler + a debug build. Now specify --dump-stats to
dex2oat.
Change-Id: Ifde379e7cd06bbb0fe20149ce89c3b3789221eac
Diffstat (limited to 'dex2oat')
-rw-r--r-- | dex2oat/dex2oat.cc | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/dex2oat/dex2oat.cc b/dex2oat/dex2oat.cc index c4cce2f..d5d1303 100644 --- a/dex2oat/dex2oat.cc +++ b/dex2oat/dex2oat.cc @@ -604,7 +604,7 @@ static int dex2oat(int argc, char** argv) { #error "Unsupported architecture" #endif bool is_host = false; - bool dump_stats = kIsDebugBuild; + bool dump_stats = false; bool dump_timing = false; bool dump_slow_timing = kIsDebugBuild; bool watch_dog_enabled = !kIsTargetBuild; @@ -696,6 +696,8 @@ static int dex2oat(int argc, char** argv) { runtime_args.push_back(argv[i]); } else if (option == "--dump-timing") { dump_timing = true; + } else if (option == "--dump-stats") { + dump_stats = true; } else { Usage("Unknown argument %s", option.data()); } |