Home
last modified time | relevance | path

Searched refs:lock_mgr (Results 1 – 2 of 2) sorted by relevance

/external/toolchain-utils/crosperf/
Dexperiment_runner.py102 def _GetMachineType(self, lock_mgr, machine): argument
111 if lock_mgr.CheckMachineInSkylab(machine):
131 experiment.lock_mgr = lock_machine.LockManager(
138 for m in experiment.lock_mgr.machines:
139 machine_type = self._GetMachineType(experiment.lock_mgr, m)
141 experiment.lock_mgr.AddMachineToLocal(m)
143 experiment.lock_mgr.AddMachineToSkylab(m)
144 machine_states = experiment.lock_mgr.GetMachineStates('lock')
145 experiment.lock_mgr.CheckMachineLocks(machine_states, 'lock')
146 self.locked_machines = experiment.lock_mgr.UpdateMachines(True)
Dexperiment.py55 self.lock_mgr = None
217 if self.lock_mgr:
218 machine_states = self.lock_mgr.GetMachineStates('unlock')
219 self.lock_mgr.CheckMachineLocks(machine_states, 'unlock')
220 unlocked_machines = self.lock_mgr.UpdateMachines(False)
227 self.lock_mgr = None