Home
last modified time | relevance | path

Searched refs:machine_manager (Results 1 – 16 of 16) sorted by relevance

/external/toolchain-utils/crosperf/
Dexperiment.py18 from machine_manager import BadChecksum
19 from machine_manager import MachineManager
20 from machine_manager import MockMachineManager
78 self.machine_manager = machine_manager_fn(chromeos_root, acquire_timeout,
84 self.machine_manager.AddMachine(machine)
87 self.remote = [m.name for m in self.machine_manager.GetAllMachines()]
96 self.machine_manager.ComputeCommonCheckSum(label)
100 self.machine_manager.ForceSameImageToAllMachines(label)
101 self.machine_manager.ComputeCommonCheckSum(label)
103 self.machine_manager.ComputeCommonCheckSumString(label)
[all …]
Dmachine_manager_unittest.py16 import machine_manager
28 class MyMachineManager(machine_manager.MachineManager):
42 cm = machine_manager.MockCrosMachine(machine_name, self.chromeos_root,
74 mock_lumpy1 = mock.Mock(spec=machine_manager.CrosMachine)
75 mock_lumpy2 = mock.Mock(spec=machine_manager.CrosMachine)
76 mock_lumpy3 = mock.Mock(spec=machine_manager.CrosMachine)
77 mock_lumpy4 = mock.Mock(spec=machine_manager.CrosMachine)
78 mock_daisy1 = mock.Mock(spec=machine_manager.CrosMachine)
79 mock_daisy2 = mock.Mock(spec=machine_manager.CrosMachine)
87 self.mm = machine_manager.MachineManager(
[all …]
Dbenchmark_run.py33 machine_manager, logger_to_use, log_level, share_cache): argument
45 self.machine_manager = machine_manager
71 self.profiler_args, self.machine_manager, self.machine,
109 self.label.chrome_version = self.machine_manager.GetChromeVersion(
115 self.label.chrome_version = self.machine_manager.GetChromeVersion(
144 self.machine_manager.RemoveMachine(self.machine.name)
146 self.machine_manager.ReleaseMachine(self.machine)
166 machine = self.machine_manager.AcquireMachine(self.label)
206 self.machine_manager.ImageMachine(machine, self.label)
243 self.profiler_args, self.machine_manager, self.machine,
[all …]
Dresults_report_unittest.py23 from machine_manager import MockCrosMachine
24 from machine_manager import MockMachineManager
126 machine_manager = MockMachineManager(
128 machine_manager.AddMachine('testing_machine')
129 machine = next(m for m in machine_manager.GetMachines()
136 machine_manager, log, log_level, share_cache)
Dresults_cache_unittest.py16 import machine_manager
768 mock_mm = machine_manager.MockMachineManager('/tmp/chromeos_root', 0,
904 self.mock_machine = machine_manager.MockCrosMachine(
951 mock_machine = machine_manager.MockCrosMachine('falco.cros',
954 mock_mm = machine_manager.MockMachineManager('/tmp/chromeos_root', 0,
983 m1 = machine_manager.MockCrosMachine(
985 m2 = machine_manager.MockCrosMachine(
990 self.results_cache.machine_manager.GetMachines = FakeGetMachines
991 self.results_cache.machine_manager.machine_checksum['mock_label'] = \
1028 m1 = machine_manager.MockCrosMachine(
[all …]
Dbenchmark_run_unittest.py22 from machine_manager import MockMachineManager
23 from machine_manager import MachineManager
24 from machine_manager import MockCrosMachine
392 self.assertEqual(br.machine_manager.ImageMachine.call_count, 1)
393 br.machine_manager.ImageMachine.assert_called_with(mock_machine,
Dresults_cache.py394 def StoreToCacheDir(self, cache_dir, machine_manager, key_list): argument
427 f.write(machine_manager.machine_checksum_string[self.label.name])
589 self.machine_manager = None
601 profiler_args, machine_manager, machine, board, cache_conditions, argument
612 self.machine_manager = machine_manager
670 machine_checksum = self.machine_manager.machine_checksum[self.label.name]
692 for machine in self.machine_manager.GetMachines(self.label):
734 result.StoreToCacheDir(cache_dir, self.machine_manager, keylist)
Dcompare_machines.py12 from machine_manager import CrosMachine
Dexperiment_runner.py125 self._experiment.machine_manager.RemoveNonLockedMachines(
154 br.profiler_args, br.machine_manager, br.machine,
Dschedv2.py112 retval = self._sched.get_experiment().machine_manager.ImageMachine(
228 self._duts = self._experiment.machine_manager.GetMachines()
Dexperiment_status.py107 self.experiment.machine_manager.AsString())
Dexperiment_runner_unittest.py19 import machine_manager
113 @mock.patch.object(machine_manager.MachineManager, 'AddMachine')
Dresults_report.py354 cpu_info = experiment.machine_manager.GetAllCPUInfo(experiment.labels)
692 manager = self.experiment.machine_manager
/external/toolchain-utils/automation/server/
Dmachine_manager_test.py9 from automation.server import machine_manager
15 self.machine_manager = machine_manager.MachineManager()
18 print self.machine_manager
22 machines = self.machine_manager.GetMachines(mach_spec_list)
27 machines = self.machine_manager.GetMachines(mach_spec_list)
Dserver.py14 from automation.server import machine_manager
32 machine_manager.MachineManager.FromMachineListFile(
33 machines_file or machine_manager.DEFAULT_MACHINES_FILE))
69 return pickle.dumps(self.job_manager.machine_manager.GetMachineList())
87 default=machine_manager.DEFAULT_MACHINES_FILE)
Djob_manager.py62 def __init__(self, machine_manager): argument
68 self.machine_manager = machine_manager
149 self.machine_manager.ReturnMachines(job_.machines)
182 machines = self.machine_manager.GetMachines(required_machines)