Searched refs:cpu_threads (Results 1 – 2 of 2) sorted by relevance
/linux-6.1.9/tools/testing/selftests/mqueue/ |
D | mq_perf_tests.c | 81 pthread_t cpu_threads[MAX_CPUS]; variable 187 if (cpu_threads[i]) { in shutdown() 188 pthread_kill(cpu_threads[i], SIGUSR1); in shutdown() 189 pthread_join(cpu_threads[i], NULL); in shutdown() 315 if (cpu_threads[i] == pthread_self()) in fake_cont_thread() 329 if (cpu_threads[i] == pthread_self()) in cont_thread() 436 t = &cpu_threads[0]; in perf_test_thread() 442 if (pthread_getcpuclockid(cpu_threads[0], &clock) != 0) in perf_test_thread() 733 if (pthread_create(&cpu_threads[i], &thread_attr, thread_func, in main() 740 pthread_join(cpu_threads[0], &retval); in main()
|
/linux-6.1.9/tools/testing/selftests/kvm/x86_64/ |
D | tsc_scaling_sync.c | 102 pthread_t cpu_threads[NR_TEST_VCPUS]; in main() local 105 pthread_create(&cpu_threads[cpu], NULL, run_vcpu, (void *)cpu); in main() 110 pthread_join(cpu_threads[cpu], &this_cpu_failures); in main()
|