Searched refs:schedv2 (Results 1 - 6 of 6) sorted by relevance

/external/toolchain-utils/crosperf/
H A Dexperiment_status.py103 if (self.experiment.schedv2() is None and
108 elif self.experiment.schedv2():
109 # In schedv2 mode, we always print out thread status.
110 thread_status = thread_status_format.format(self.experiment.schedv2(
H A Dmachine_image_manager.py196 def allocate(self, dut, schedv2=None):
201 schedv2: the scheduling instance, we need the benchmark run
202 information with schedv2 for a better allocation.
218 # Note schedv2 might be None in case we do not need this
220 if schedv2 is not None:
221 pending_br_num = len(schedv2.get_label_map()[label])
228 # In case we do not have a schedv2 instance, mark
H A Dexperiment.py111 def set_schedv2(self, schedv2):
112 self._schedv2 = schedv2
114 def schedv2(self): member in class:Experiment
166 Note this is only used by schedv2 and is called by multiple threads.
H A Dexperiment_runner.py27 from schedv2 import Schedv2
167 schedv2 = Schedv2(experiment)
168 experiment.set_schedv2(schedv2)
H A Dschedv2.py201 def __init__(self, schedv2, br_list):
203 self._schedv2 = schedv2
400 """Notify schedv2 that the dut_worker thread finished.
H A Dschedv2_unittest.py18 from schedv2 import Schedv2
118 @mock.patch('schedv2.BenchmarkRunCacheReader')
133 # that is 'br_list' in 'schedv2.BenchmarkRunCacheReader'.
140 @mock.patch('schedv2.BenchmarkRunCacheReader')
155 @mock.patch('schedv2.BenchmarkRunCacheReader')
168 @mock.patch('schedv2.BenchmarkRunCacheReader')

Completed in 91 milliseconds