Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(258)

Unified Diff: tracing/bin/run_metric

Issue 2166993003: Merge tracing/bin/run_metric (Closed) Base URL: https://github.com/catapult-project/catapult.git@polymer10-rebase
Patch Set: rebase Created 4 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tracing/bin/run_metric
diff --git a/tracing/bin/run_metric b/tracing/bin/run_metric
index 9777628b0c9ac4fa427da4af620524c96afaba25..afd6aa53d8d41af714606a4187de9776d04e714d 100755
--- a/tracing/bin/run_metric
+++ b/tracing/bin/run_metric
@@ -21,17 +21,12 @@ def Main(argv):
description='Runs metrics on local traces')
parser.add_argument('trace_file_or_dir',
help='A trace file, or a dir containing trace files')
-<<<<<<< HEAD
parser.add_argument('metrics', nargs='+',
-=======
- parser.add_argument('metrics', nargs=argparse.REMAINDER,
->>>>>>> d779e0a... [polymer] Merge of master into polymer10-migration
help=('Function names of registered metrics '
'(not filenames.) '
'Available metrics are: %s' %
', '.join(all_metrics)),
choices=all_metrics, metavar='metricName')
-<<<<<<< HEAD
parser.add_argument('--filename', default='results', type=str,
help='Output file name (no extension)')
parser.add_argument('--reset', action='store_true',
@@ -40,8 +35,6 @@ def Main(argv):
parser.add_argument('--also-output-json', action='store_true',
help=('Also output json file containing values. Note that'
'this only contains the results of current run'))
-=======
->>>>>>> d779e0a... [polymer] Merge of master into polymer10-migration
args = parser.parse_args(argv[1:])
trace_file_or_dir = os.path.abspath(args.trace_file_or_dir)
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698