diff options
author | Anton Kirilov <anton.kirilov@linaro.org> | 2016-06-16 11:51:21 +0100 |
---|---|---|
committer | Anton Kirilov <anton.kirilov@linaro.org> | 2016-06-16 12:43:58 +0100 |
commit | 693b5b2fc9fc352db2b0dbf90af666f82fd59016 (patch) | |
tree | ec1608cd95159640fc299181b11a4c6ee5b7548a /framework | |
parent | 1cd218517caea3d6525fb76d2e825fe7b39b080f (diff) | |
download | art-testing-693b5b2fc9fc352db2b0dbf90af666f82fd59016.tar.gz |
Fix the time units in a help message.
Change-Id: I1db598da406194300005418d2cd52b105efb97ed
Diffstat (limited to 'framework')
-rw-r--r-- | framework/org/linaro/bench/RunBench.java | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/framework/org/linaro/bench/RunBench.java b/framework/org/linaro/bench/RunBench.java index 847aa92..b64c5a9 100644 --- a/framework/org/linaro/bench/RunBench.java +++ b/framework/org/linaro/bench/RunBench.java @@ -205,13 +205,16 @@ public class RunBench { + "\t--debug Be more verbose than the verbose mode.\n" + "\t--list_benchmarks List available benchmarks and exit.\n" /* TODO: Add a `--list_sub_benchmarks` option. */ - + "\t--benchmark_run_time <time in s>\n" + + "\t--benchmark_run_time <time in ms>\n" + "\t Set the target running time for benchmarks.\n" - + "\t (default: " + DEFAULT_BENCH_TARGET_RUN_TIME_NS + ")\n" - + "\t--calibration_min_time <time in s>\n" + + "\t (default: " + + TimeUnit.MILLISECONDS.convert(DEFAULT_BENCH_TARGET_RUN_TIME_NS, TimeUnit.NANOSECONDS) + + ")\n" + + "\t--calibration_min_time <time in ms>\n" + "\t Set the minimum running time for benchmark calibration.\n" - + "\t (default: " + DEFAULT_CALIBRATION_MIN_TIME_NS + ")\n" - + ""; + + "\t (default: " + + TimeUnit.MILLISECONDS.convert(DEFAULT_CALIBRATION_MIN_TIME_NS, TimeUnit.NANOSECONDS) + + ")\n"; public int parseCmdlineAndRun(String[] args) { int errors = 0; |