Home
last modified time | relevance | path

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

/art/test/testrunner/
Dtestrunner.py132 n_thread = 0 variable
312 global n_thread
315 if n_thread == 0:
318 n_thread = max(1, int(get_target_cpu_count() * fraction))
320 n_thread = 1
323 if n_thread == 0:
324 n_thread = get_host_cpu_count()
325 print_text("Concurrency: {} ({})\n".format(n_thread, device_name))
581 global n_thread
582 with concurrent.futures.ThreadPoolExecutor(max_workers=n_thread) as executor:
[all …]