Searched refs:n_thread (Results 1 – 1 of 1) sorted by relevance
132 n_thread = 0 variable312 global n_thread315 if n_thread == 0:318 n_thread = max(1, int(get_target_cpu_count() * fraction))320 n_thread = 1323 if n_thread == 0:324 n_thread = get_host_cpu_count()325 print_text("Concurrency: {} ({})\n".format(n_thread, device_name))581 global n_thread582 with concurrent.futures.ThreadPoolExecutor(max_workers=n_thread) as executor:[all …]