diff --git a/campaign1.py b/campaign1.py index 43fd546f6e6bfa133ab04e97d2b077f8c07a13f0..1a966afbc4b43cdea8730d542edd5b4f2c2db4c3 100755 --- a/campaign1.py +++ b/campaign1.py @@ -21,9 +21,12 @@ nb_expe = 50 start_dates = [random.randint(jun1, nov30 - 72 * 3600) for _ in range(nb_expe)] +xp_a_relancer = [7, 26] + with concurrent.futures.ProcessPoolExecutor() as executor: instances = [] - for i in range(nb_expe): + # for i in range(nb_expe): + for i in xp_a_relancer: print(f"Submit expe {i}") # start_instance(expe_num, start_date, prepare_workload, clean_log) instances.append(executor.submit(start_instance, i, start_dates[i], False, True))