Index: scripts/slave/recipes/bisection/desktop_bisect.expected/basic.json |
diff --git a/scripts/slave/recipes/bisection/desktop_bisect.expected/basic.json b/scripts/slave/recipes/bisection/desktop_bisect.expected/basic.json |
index f02804bfde741032b4a92799c94a6e7e6ac20a1e..f65780f8daed3ee92ca128363a1a54050e13fb1e 100644 |
--- a/scripts/slave/recipes/bisection/desktop_bisect.expected/basic.json |
+++ b/scripts/slave/recipes/bisection/desktop_bisect.expected/basic.json |
@@ -195,6 +195,22 @@ |
"cmd": [ |
"python", |
"-u", |
+ "\nimport multiprocessing\nprint min(200, multiprocessing.cpu_count() * 10)\n" |
+ ], |
+ "name": "ensure_goma.get the number of cpus", |
+ "stdout": "/path/to/tmp/", |
+ "~followup_annotations": [ |
+ "@@@STEP_NEST_LEVEL@1@@@", |
+ "@@@STEP_LOG_LINE@python.inline@@@@", |
+ "@@@STEP_LOG_LINE@python.inline@import multiprocessing@@@", |
+ "@@@STEP_LOG_LINE@python.inline@print min(200, multiprocessing.cpu_count() * 10)@@@", |
+ "@@@STEP_LOG_END@python.inline@@@" |
+ ] |
+ }, |
+ { |
+ "cmd": [ |
+ "python", |
+ "-u", |
"RECIPE_PACKAGE_REPO[depot_tools]/gclient.py", |
"runhooks" |
], |
@@ -322,6 +338,23 @@ |
] |
}, |
{ |
+ "cmd": [ |
+ "python", |
+ "-u", |
+ "\nimport multiprocessing\nprint min(200, multiprocessing.cpu_count() * 10)\n" |
+ ], |
+ "cwd": "[BUILDER_CACHE]/linux_perf_bisect", |
+ "name": "ensure_goma.get the number of cpus (2)", |
+ "stdout": "/path/to/tmp/", |
+ "~followup_annotations": [ |
+ "@@@STEP_NEST_LEVEL@1@@@", |
+ "@@@STEP_LOG_LINE@python.inline@@@@", |
+ "@@@STEP_LOG_LINE@python.inline@import multiprocessing@@@", |
+ "@@@STEP_LOG_LINE@python.inline@print min(200, multiprocessing.cpu_count() * 10)@@@", |
+ "@@@STEP_LOG_END@python.inline@@@" |
+ ] |
+ }, |
+ { |
"allow_subannotations": true, |
"cmd": [ |
"python", |