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

Unified Diff: tools/perf/generate_perf_json.py

Issue 2516413002: Add logic to disable default gpu dimension. (Closed)
Patch Set: Created 4 years, 1 month 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: tools/perf/generate_perf_json.py
diff --git a/tools/perf/generate_perf_json.py b/tools/perf/generate_perf_json.py
index 23cf59a2a2cd9c44cf7869c9ada0b7c66f52a548..5dba7222fc3c7aa1a03cc91adc3381a2a9ce0c3e 100755
--- a/tools/perf/generate_perf_json.py
+++ b/tools/perf/generate_perf_json.py
@@ -445,6 +445,8 @@ def get_swarming_dimension(dimension, device_affinity):
}
if 'gpu' in dimension:
complete_dimension['gpu'] = dimension['gpu']
+ else:
+ complete_dimension['gpu'] = None
return complete_dimension
« 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