Searched refs:n_threads (Results 1 – 6 of 6) sorted by relevance
/qemu/tests/bench/ |
A D | atomic64-bench.c | 23 static unsigned int n_threads = 1; variable 79 while (qatomic_read(&n_ready_threads) != n_threads) { in run_test() 87 for (i = 0; i < n_threads; i++) { in run_test() 96 threads = g_new(QemuThread, n_threads); in create_threads() 97 th_info = g_new(struct thread_info, n_threads); in create_threads() 100 for (i = 0; i < n_threads; i++) { in create_threads() 113 printf(" # of threads: %u\n", n_threads); in pr_params() 124 for (i = 0; i < n_threads; i++) { in pr_stats() 132 printf(" Throughput/thread: %.2f Mops/s/thread\n", tx / n_threads); in pr_stats() 152 n_threads = atoi(optarg); in parse_args()
|
A D | atomic_add-bench.c | 18 static unsigned int n_threads = 1; variable 82 while (qatomic_read(&n_ready_threads) != n_threads) { in run_test() 90 for (i = 0; i < n_threads; i++) { in run_test() 99 threads = g_new(QemuThread, n_threads); in create_threads() 100 th_info = g_new(struct thread_info, n_threads); in create_threads() 107 for (i = 0; i < n_threads; i++) { in create_threads() 119 printf(" # of threads: %u\n", n_threads); in pr_params() 138 printf(" Throughput/thread: %.2f Mops/s/thread\n", tx / n_threads); in pr_stats() 158 n_threads = atoi(optarg); in parse_args()
|
/qemu/tests/unit/ |
A D | rcutorture.c | 80 static int n_threads; variable 94 if (n_threads >= NR_THREADS) { in create_thread() 98 qemu_thread_create(&threads[n_threads], "test", func, &data[n_threads], in create_thread() 100 n_threads++; in create_thread() 107 for (i = 0; i < n_threads; i++) { in wait_all_threads() 110 n_threads = 0; in wait_all_threads()
|
A D | test-rcu-list.c | 55 static int n_threads; variable 65 if (n_threads >= NR_THREADS) { in create_thread() 69 qemu_thread_create(&threads[n_threads], "test", func, &data[n_threads], in create_thread() 71 n_threads++; in create_thread() 78 for (i = 0; i < n_threads; i++) { in wait_all_threads() 81 n_threads = 0; in wait_all_threads()
|
/qemu/tests/ |
A D | test-qht-par.c | 11 static void test_qht(int n_threads, int update_rate, int duration) in test_qht() argument 17 n_threads, update_rate, duration); in test_qht()
|
/qemu/target/ppc/ |
A D | compat.c | 265 int n_threads = CPU(cpu)->nr_threads; in ppc_compat_max_vthreads() local 269 n_threads = MIN(n_threads, compat->max_vthreads); in ppc_compat_max_vthreads() 272 return n_threads; in ppc_compat_max_vthreads()
|
Completed in 29 milliseconds