Home
last modified time | relevance | path

Searched refs:active_processes (Results 1 – 4 of 4) sorted by relevance

/external/autotest/scheduler/
Ddrone_manager_unittest.py19 def __init__(self, name, active_processes=0, max_processes=10, argument
24 self.active_processes = active_processes
108 active_processes, max_processes = process_info
110 MockDrone(index, active_processes, max_processes,
163 self.manager._enqueue_drone(MockDrone(2, active_processes=3,
175 def _setup_test_drone_restrictions(self, active_processes=0): argument
177 1, active_processes=active_processes, max_processes=10))
179 2, active_processes=active_processes, max_processes=5))
181 3, active_processes=active_processes, max_processes=2))
208 self._setup_test_drone_restrictions(active_processes=6)
Ddrone_manager.py448 drone.active_processes = 0
456 drone.active_processes += info.num_processes
459 drone.active_processes,
470 percent = float(drone.active_processes) / drone.max_processes
617 return sum(drone.active_processes for drone in self.get_drones())
637 wrapper.drone.max_processes - wrapper.drone.active_processes
695 if drone.active_processes + num_processes <= drone.max_processes:
699 drone.hostname, drone.active_processes, num_processes,
705 drone.active_processes,
773 drone.active_processes += num_processes
Ddrones.py43 self.active_processes = 0
74 return (float(self.active_processes) / self.max_processes,
Dluciferlib.py424 self._drone.active_processes += count