aboutsummaryrefslogtreecommitdiff
path: root/crosperf/label.py
diff options
context:
space:
mode:
authorHan Shen <shenhan@google.com>2015-09-18 16:53:34 -0700
committerchrome-bot <chrome-bot@chromium.org>2015-09-24 02:23:46 -0700
commite066297f07a8d1e1ad3416b4b034b2943f47c648 (patch)
tree84995ce711005464ef72700701e51841e6b188a2 /crosperf/label.py
parent3c43b87571a5f46b73c62ed92f11b5868e9f38c5 (diff)
downloadtoolchain-utils-e066297f07a8d1e1ad3416b4b034b2943f47c648.tar.gz
Fix cache reading problem.
The previous implementation images a machine to match the br(benchmarkrun)'s label before ReadCache is performed, that image step is a huge waste. Now re-implemented by starting a few threads at the very beginning to go through all brs, and put cache-hit brs into _cached_br_list. Then we start the DutWorker thread to go through _cached_br_list, which does not require dut to bear any particular image. After this step, we proceed as usual. Unittest cases also added. Tested by manullay launch a crosperf and examining no re-image is done. Change-Id: Ib611937f9fa28ae9bedce8a1a01ed303f14f838a Reviewed-on: https://chrome-internal-review.googlesource.com/231585 Commit-Ready: Han Shen <shenhan@google.com> Tested-by: Han Shen <shenhan@google.com> Reviewed-by: Han Shen <shenhan@google.com>
Diffstat (limited to 'crosperf/label.py')
0 files changed, 0 insertions, 0 deletions