diff options
author | Han Shen <shenhan@google.com> | 2015-09-14 10:26:40 -0700 |
---|---|---|
committer | chrome-bot <chrome-bot@chromium.org> | 2015-09-14 17:10:21 -0700 |
commit | 43494297a1745c084d8a2f3beb52ff1c70a2007c (patch) | |
tree | a31173887c31d879ea4d827ff7202da61b322236 /crosperf/crosperf.py | |
parent | 9b852cfd9a602c5f80c8e621c696b796ce5177fd (diff) | |
download | toolchain-utils-43494297a1745c084d8a2f3beb52ff1c70a2007c.tar.gz |
Make new scheduler the default.
This CL also add a new option '--noschedv2' to use the original
scheduler in case of bugs in the new scheduler.
Change-Id: I11ddefe7e7c1162019e9ad72ed3cef0b962b4d06
Reviewed-on: https://chrome-internal-review.googlesource.com/230484
Commit-Ready: Han Shen <shenhan@google.com>
Tested-by: Han Shen <shenhan@google.com>
Reviewed-by: Caroline Tice <cmtice@google.com>
Diffstat (limited to 'crosperf/crosperf.py')
-rwxr-xr-x | crosperf/crosperf.py | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/crosperf/crosperf.py b/crosperf/crosperf.py index 1e934e87..44567fa6 100755 --- a/crosperf/crosperf.py +++ b/crosperf/crosperf.py @@ -64,10 +64,12 @@ def Main(argv): formatter=MyIndentedHelpFormatter(), version="%prog 3.0") - parser.add_option("--schedv2", - dest="schedv2", + parser.add_option("--noschedv2", + dest="noschedv2", + default=False, action="store_true", - help="Use crosperf scheduler v2 (feature in progress).") + help=("Do not use new scheduler. " + "Use original scheduler instead.")) parser.add_option("-l", "--log_dir", dest="log_dir", default="", @@ -108,7 +110,7 @@ def Main(argv): runner = MockExperimentRunner(experiment) else: runner = ExperimentRunner(experiment, json_report, - using_schedv2=options.schedv2) + using_schedv2=!options.noschedv2) runner.Run() |