Home | History | Annotate | Download | only in crosperf

Lines Matching refs:br

50         Note - 'br' below means 'benchmark_run'.
54 br = self._sched.get_cached_benchmark_run()
55 while br:
57 self._stat_annotation = 'finishing cached {}'.format(br)
58 br.run()
61 br = self._sched.get_cached_benchmark_run()
68 br = self._sched.get_benchmark_run(self._dut)
69 if br is None:
70 # No br left for this label. Considering reimaging.
73 # No br even for other labels. We are done.
79 # Reimage to run other br fails, dut is doomed, stop
86 # Execute the br.
87 self._execute_benchmark_run(br)
125 def _execute_benchmark_run(self, br):
135 self._logger.LogOutput('{} started working on {}'.format(self, br))
137 self._stat_annotation = 'executing {}'.format(br)
140 assert br.owner_thread is None
141 br.owner_thread = self
143 self._active_br = br
144 br.run()
146 self._sched.get_experiment().BenchmarkRunFinished(br)
208 for br in self._br_list:
210 br.ReadCache()
211 if br.cache_hit:
212 self._logger.LogOutput('Cache hit - {}'.format(br))
214 self._schedv2.get_cached_run_list().append(br)
216 self._logger.LogOutput('Cache not hit - {}'.format(br))
246 for br in self._experiment.benchmark_runs:
247 assert br.label in self._label_brl_map
248 # Only put no-cache-hit br into the map.
249 if br not in self._cached_br_list:
250 self._label_brl_map[br.label].append(br)
274 each br and put those with cache into '_cached_br_list'.
351 """Get a benchmark_run (br) object for a certain dut.
354 dut: the dut for which a br is returned.
357 A br with its label matching that of the dut. If no such br could be
362 # If terminated, stop providing any br.
370 # If br list for the dut's label is empty (that means all brs for this
376 # Return the first br.
418 """Mark flag so we stop providing br/reimages.
420 Also terminate each DutWorker, so they refuse to execute br or reimage.