Searched refs:n_threads (Results 1 – 11 of 11) sorted by relevance
/qemu/tests/bench/ |
H 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()
|
H 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/ |
H 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()
|
H 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/crypto/ |
H A D | block-qcow.c | 47 size_t n_threads, in qcrypto_block_qcow_init() argument 78 n_threads, errp); in qcrypto_block_qcow_init() 103 size_t n_threads, in qcrypto_block_qcow_open() argument 118 n_threads, errp); in qcrypto_block_qcow_open()
|
H A D | block.c | 55 size_t n_threads, in qcrypto_block_open() argument 73 readfunc, opaque, flags, n_threads, errp) < 0) in qcrypto_block_open() 268 size_t n_threads, Error **errp) in qcrypto_block_init_cipher() argument 274 block->ciphers = g_new0(QCryptoCipher *, n_threads); in qcrypto_block_init_cipher() 276 for (i = 0; i < n_threads; i++) { in qcrypto_block_init_cipher()
|
H A D | blockpriv.h | 56 size_t n_threads, 133 size_t n_threads, Error **errp);
|
H A D | block-luks.c | 1192 size_t n_threads, in qcrypto_block_luks_open() argument 1265 n_threads, in qcrypto_block_luks_open()
|
/qemu/tests/ |
H 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/ |
H A D | compat.c | 254 int n_threads = CPU(cpu)->nr_threads; in ppc_compat_max_vthreads() local 258 n_threads = MIN(n_threads, compat->max_vthreads); in ppc_compat_max_vthreads() 261 return n_threads; in ppc_compat_max_vthreads()
|
/qemu/include/crypto/ |
H A D | block.h | 116 size_t n_threads,
|