Searched refs:num_cpu (Results 1 – 2 of 2) sorted by relevance
51 def create_and_launch_subprocesses(num_cpu, classify_warnings_fn, arg_groups, argument53 pool = multiprocessing.Pool(num_cpu)54 for cpu in range(num_cpu):
473 num_cpu = args.processes476 if num_cpu > 1:478 warning_groups = [[] for _ in range(num_cpu)]482 i = (i + 1) % num_cpu483 arg_groups = [[] for _ in range(num_cpu)]489 'num_processes': num_cpu492 group_results = create_launch_subprocs_fn(num_cpu,