Searched refs:machine_manager (Results 1 – 14 of 14) sorted by relevance
/external/toolchain-utils/crosperf/ |
D | experiment.py | 19 from machine_manager import BadChecksum 20 from machine_manager import MachineManager 21 from machine_manager import MockMachineManager 83 self.machine_manager = machine_manager_fn(chromeos_root, acquire_timeout, 89 self.machine_manager.AddMachine(machine) 92 self.remote = [m.name for m in self.machine_manager.GetAllMachines()] 128 self.cache_conditions, self.machine_manager, logger_to_use, 139 self.machine_manager.ComputeCommonCheckSum(label) 146 self.machine_manager.ForceSameImageToAllMachines(label) 147 self.machine_manager.ComputeCommonCheckSum(label) [all …]
|
D | machine_manager_unittest.py | 19 import machine_manager 31 class MyMachineManager(machine_manager.MachineManager): 45 cm = machine_manager.MockCrosMachine(machine_name, self.chromeos_root, 77 mock_lumpy1 = mock.Mock(spec=machine_manager.CrosMachine) 78 mock_lumpy2 = mock.Mock(spec=machine_manager.CrosMachine) 79 mock_lumpy3 = mock.Mock(spec=machine_manager.CrosMachine) 80 mock_lumpy4 = mock.Mock(spec=machine_manager.CrosMachine) 81 mock_daisy1 = mock.Mock(spec=machine_manager.CrosMachine) 82 mock_daisy2 = mock.Mock(spec=machine_manager.CrosMachine) 90 self.mm = machine_manager.MachineManager('/usr/local/chromeos', 0, [all …]
|
D | benchmark_run.py | 35 machine_manager, logger_to_use, log_level, share_cache, argument 48 self.machine_manager = machine_manager 74 self.profiler_args, self.machine_manager, self.machine, 113 self.label.chrome_version = self.machine_manager.GetChromeVersion( 119 self.label.chrome_version = self.machine_manager.GetChromeVersion( 148 self.machine_manager.RemoveMachine(self.machine.name) 150 self.machine_manager.ReleaseMachine(self.machine) 170 machine = self.machine_manager.AcquireMachine(self.label) 208 self.machine_manager.ImageMachine(machine, self.label) 245 self.profiler_args, self.machine_manager, self.machine, [all …]
|
D | results_report_unittest.py | 25 from machine_manager import MockCrosMachine 26 from machine_manager import MockMachineManager 129 machine_manager = MockMachineManager( 131 machine_manager.AddMachine('testing_machine') 133 m for m in machine_manager.GetMachines() if m.name == 'testing_machine') 137 1 + n + num_runs, cache_conditions, machine_manager, 191 cros_machines = experiment.machine_manager.GetMachines()
|
D | benchmark_run_unittest.py | 23 from machine_manager import MockMachineManager 24 from machine_manager import MachineManager 25 from machine_manager import MockCrosMachine 404 self.assertEqual(br.machine_manager.ImageMachine.call_count, 1) 405 br.machine_manager.ImageMachine.assert_called_with(mock_machine,
|
D | results_cache_unittest.py | 19 import machine_manager 1714 mock_mm = machine_manager.MockMachineManager('/tmp/chromeos_root', 0, 1851 self.mock_machine = machine_manager.MockCrosMachine('falco.cros', 1900 mock_machine = machine_manager.MockCrosMachine('falco.cros', 1903 mock_mm = machine_manager.MockMachineManager('/tmp/chromeos_root', 0, 1933 m1 = machine_manager.MockCrosMachine('lumpy1.cros', 1936 m2 = machine_manager.MockCrosMachine('lumpy2.cros', 1942 self.results_cache.machine_manager.GetMachines = FakeGetMachines 1943 self.results_cache.machine_manager.machine_checksum['mock_label'] = \ 1980 m1 = machine_manager.MockCrosMachine('lumpy1.cros', [all …]
|
D | compare_machines.py | 14 from machine_manager import CrosMachine
|
D | results_cache.py | 1069 def StoreToCacheDir(self, cache_dir, machine_manager, key_list): argument 1096 f.write(machine_manager.machine_checksum_string[self.label.name]) 1257 self.machine_manager = None 1270 profiler_args, machine_manager, machine, board, cache_conditions, argument 1281 self.machine_manager = machine_manager 1340 machine_checksum = self.machine_manager.machine_checksum[self.label.name] 1364 for machine in self.machine_manager.GetMachines(self.label): 1406 result.StoreToCacheDir(cache_dir, self.machine_manager, keylist)
|
D | schedv2.py | 122 retval = self._sched.get_experiment().machine_manager.ImageMachine( 239 self._duts = self._experiment.machine_manager.GetMachines()
|
D | experiment_runner.py | 153 experiment.machine_manager.RemoveNonLockedMachines(self.locked_machines) 162 br.profiler_args, br.machine_manager, br.machine,
|
D | experiment_status.py | 111 self.experiment.machine_manager.AsString())
|
D | results_report.py | 382 for dut in self.experiment.machine_manager.GetMachines(): 418 cpu_info = experiment.machine_manager.GetAllCPUInfo(experiment.labels) 795 manager = self.experiment.machine_manager
|
D | experiment_runner_unittest.py | 22 import machine_manager 117 @mock.patch.object(machine_manager.MachineManager, 'AddMachine')
|
D | suite_runner_unittest.py | 24 from machine_manager import MockCrosMachine
|